summarylogtreecommitdiffstats
path: root/subsonic.service
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic.service')
-rw-r--r--subsonic.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/subsonic.service b/subsonic.service
new file mode 100644
index 00000000000..5e65f03ac41
--- /dev/null
+++ b/subsonic.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Subsonic
+After=network.target
+
+[Service]
+ExecStart=/var/subsonic/subsonic.sh
+ExecStop=/bin/kill -15 $MAINPID
+Type=forking
+
+[Install]
+WantedBy=multi-user.target