Skip to content

Instantly share code, notes, and snippets.

@jknight2014
Created March 29, 2017 01:20
Show Gist options
  • Save jknight2014/4c58baa96413fb7396c5dbf17fe362fe to your computer and use it in GitHub Desktop.
Save jknight2014/4c58baa96413fb7396c5dbf17fe362fe to your computer and use it in GitHub Desktop.
NZBHydra Systemd Service File
[Unit]
Description=NZBHydra Daemon Service File
Documentation=https://github.com/theotherp/nzbhydra
After=network.target
[Service]
User=USER
Group=GROUP
Type=simple
ExecStart=/usr/bin/python /opt/nzbhydra/nzbhydra.py --daemon --nobrowser
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment