summaryrefslogtreecommitdiffstats
path: root/mkosi.extra/etc/systemd/system/sabnzbd.service
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-11-12 11:14:12 +0100
committerdennis <dennis@mrslave>2019-11-12 11:14:12 +0100
commit32df7e9c53f475038cde19fbcfa1544ce827fb1a (patch)
tree96e1ef8d549bca52aaf4d3429df0ef90024ad3c9 /mkosi.extra/etc/systemd/system/sabnzbd.service
parentfuck ubuntus motd (diff)
downloadmkosi-sabnzbd-32df7e9c53f475038cde19fbcfa1544ce827fb1a.tar.gz
moving from skeleton to extra
Diffstat (limited to 'mkosi.extra/etc/systemd/system/sabnzbd.service')
-rw-r--r--mkosi.extra/etc/systemd/system/sabnzbd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/mkosi.extra/etc/systemd/system/sabnzbd.service b/mkosi.extra/etc/systemd/system/sabnzbd.service
new file mode 100644
index 0000000..d800fe0
--- /dev/null
+++ b/mkosi.extra/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