Liquidsoap Ubuntu 16.04安装

时间:2018-01-22 21:32:03

标签: ubuntu-16.04 liquidsoap

我可以使用以下方式安装:

sudo apt-get update
sudo apt-get install liquidsoap

并且两个文件的chmod /etc/liquidsoap/test.liq /etc/liquidsoap/test.log 以便普通用户可以运行它 但是当我尝试启动它时

administrator@ubuntu:~$ sudo /etc/init.d/liquidsoap start
[sudo] password for administrator:
Starting liquidsoap channels: test.liq OK
administrator@ubuntu:~$

它开始正常,但没有任何事情发生,日志文件中什么也没有? 有什么想法吗?

谢谢!

1 个答案:

答案 0 :(得分:0)

Found the solution! Here's what I did in case someone runs into same issue:

Changed service script /etc/init.d/liquidsoap user and group to match my Ubuntu regular system user instead of default liquidsoap.

user=usernamehere
group=usernamehere

After that it was not starting again so I changed directory and file permission to usernamehere for the following:

/etc/liquidsoap/radio.liq
/run/liquidsoap/

instead of default liquidsoap. And after reboot it was starting without issue and log was being populated.