18 lines
310 B
SYSTEMD
18 lines
310 B
SYSTEMD
|
[Unit]
|
||
|
Description=NZBGet Daemon
|
||
|
Documentation=http://nzbget.net/Documentation
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=nzbget
|
||
|
Group=nzbget
|
||
|
Type=forking
|
||
|
ExecStart=/usr/bin/nzbget -D
|
||
|
ExecStop=/usr/bin/nzbget -Q
|
||
|
ExecReload=/usr/bin/nzbget -O
|
||
|
KillMode=process
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|