Skip to content

Instantly share code, notes, and snippets.

@BlackDex
Forked from abn/nzbgetd@.service
Created January 25, 2017 13:43
Show Gist options
  • Save BlackDex/f1595148e77e45e000aba2c9cc26b105 to your computer and use it in GitHub Desktop.
Save BlackDex/f1595148e77e45e000aba2c9cc26b105 to your computer and use it in GitHub Desktop.
SystemD service file for nzbget
[Unit]
Description=NZBGet Daemon
DaemonAfter=network.target
[Service]
User=%i
ExecStart=/usr/bin/nzbget -D
ExecStop=/usr/bin/nzbget -Q
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment