summaryrefslogtreecommitdiff
path: root/templates/etc/systemd/system/liquidsoap-radio.service
diff options
context:
space:
mode:
Diffstat (limited to 'templates/etc/systemd/system/liquidsoap-radio.service')
-rw-r--r--templates/etc/systemd/system/liquidsoap-radio.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/etc/systemd/system/liquidsoap-radio.service b/templates/etc/systemd/system/liquidsoap-radio.service
new file mode 100644
index 0000000..c10983d
--- /dev/null
+++ b/templates/etc/systemd/system/liquidsoap-radio.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Liquidsoap Radio Streaming Service
+After=network.target
+
+[Service]
+Type=simple
+User=icecast2
+#Group=icecast
+ExecStart=/usr/bin/liquidsoap /srv/radio/radio.liq
+Restart=on-failure
+RestartSec=5
+StandardOutput=syslog
+StandardError=syslog
+SyslogIdentifier=liquidsoap-radio
+
+[Install]
+WantedBy=multi-user.target