summaryrefslogtreecommitdiff
blob: 031307e3efa4d121861a5e4bae6d3244aa0e6b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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