diff options
Diffstat (limited to 'net-nntp/nzbget/files')
-rw-r--r-- | net-nntp/nzbget/files/nzbget.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-nntp/nzbget/files/nzbget.service b/net-nntp/nzbget/files/nzbget.service new file mode 100644 index 000000000000..031307e3efa4 --- /dev/null +++ b/net-nntp/nzbget/files/nzbget.service @@ -0,0 +1,18 @@ +[Unit] +Description=NZBGet binary newsgrabber +Documentation=https://nzbget.net/Documentation +After=network.target + +[Service] +User=nzbget +Group=nzbget +Type=forking +PIDFile=/run/nzbget/nzbget.pid +RuntimeDirectory=nzbget +RuntimeDirectoryMode=0755 +ExecStart=/usr/bin/nzbget -c /etc/nzbgetd.conf -o LockFile=/run/nzbget/nzbget.pid -D +ExecStop=/usr/bin/nzbget -c /etc/nzbgetd.conf -Q +ExecReload=/usr/bin/nzbget -c /etc/nzbgetd.conf -O + +[Install] +WantedBy=multi-user.target |