liquidsoap/liquidsoap.service

16 lines
340 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Liquidsoap service for channel %I
Documentation=man:liquidsoap(1)
After=network.target
ConditionPathExists=/etc/liquidsoap/%I.liq
[Service]
Type=simple
ExecStart=/usr/bin/liquidsoap --quiet /etc/liquidsoap/%I.liq
ExecReload=/bin/kill -USR1 $MAINPID
User=liquidsoap
Group=liquidsoap
[Install]
WantedBy=multi-user.target