summarylogtreecommitdiffstats
path: root/nzbget.service
diff options
context:
space:
mode:
Diffstat (limited to 'nzbget.service')
-rw-r--r--nzbget.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/nzbget.service b/nzbget.service
new file mode 100644
index 000000000000..6f1a3254f126
--- /dev/null
+++ b/nzbget.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=NZBGet Daemon
+Documentation=http://nzbget.net/Documentation
+After=network.target
+
+[Service]
+User=nzbget
+Group=nzbget
+ExecStart=/usr/bin/nzbget -c /etc/nzbget.conf -D
+ExecStop=/usr/bin/nzbget -Q
+ExecReload=/usr/bin/nzbget -O
+KillMode=process
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target