summarylogtreecommitdiffstats
path: root/subsonic.service
diff options
context:
space:
mode:
authorThom Wiggers2014-12-31 13:39:57 +0100
committerThom Wiggers2014-12-31 13:39:57 +0100
commit6c493a271ec6ee205ed2284a10c4723ef6ad302c (patch)
tree821b79c8f831403717cab5502682489c38b9be79 /subsonic.service
downloadaur-6c493a271ec6ee205ed2284a10c4723ef6ad302c.tar.gz
Initial commit
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