Skip to content

Instantly share code, notes, and snippets.

@abn
Last active January 25, 2017 13:43
Show Gist options
  • Save abn/e4dc31aaf4c0e32e4be9 to your computer and use it in GitHub Desktop.
Save abn/e4dc31aaf4c0e32e4be9 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