summaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/etc/systemd/system/sabnzbd.service
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-10-20 11:08:21 +0200
committerdennis <dennis@mrslave>2019-10-20 11:08:21 +0200
commit6d2b65b1d071a35e64c2ba0b2f7b564d3fe08c35 (patch)
tree1c3bb850d267e4c360cc835dba7ae1642028c081 /mkosi.skeleton/etc/systemd/system/sabnzbd.service
downloadmkosi-sabnzbd-6d2b65b1d071a35e64c2ba0b2f7b564d3fe08c35.tar.gz
initial commit
Diffstat (limited to 'mkosi.skeleton/etc/systemd/system/sabnzbd.service')
-rw-r--r--mkosi.skeleton/etc/systemd/system/sabnzbd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/mkosi.skeleton/etc/systemd/system/sabnzbd.service b/mkosi.skeleton/etc/systemd/system/sabnzbd.service
new file mode 100644
index 0000000..d800fe0
--- /dev/null
+++ b/mkosi.skeleton/etc/systemd/system/sabnzbd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=SabNZB Daemon
+After=network.target
+
+[Service]
+User=warez
+Group=warez
+Umask=022
+
+Type=forking
+ExecStart=/usr/bin/sabnzbdplus --daemon --config-file /config --server 0.0.0.0:8080
+TimeoutStopSec=20
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target