Skip to content

Instantly share code, notes, and snippets.

@rcvalle
Created January 19, 2018 08:13
Show Gist options
  • Select an option

  • Save rcvalle/df90e058e725ad3bb4b442b38c7eaa40 to your computer and use it in GitHub Desktop.

Select an option

Save rcvalle/df90e058e725ad3bb4b442b38c7eaa40 to your computer and use it in GitHub Desktop.

Revisions

  1. rcvalle created this gist Jan 19, 2018.
    16 changes: 16 additions & 0 deletions nzbget.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    [Unit]
    Description=NZBGet
    Documentation=https://nzbget.net/documentation

    [Service]
    User=
    Group=
    Type=forking
    PIDFile=<nzbget-directory>/downloads/nzbget.lock
    ExecStart=<nzbget-directory>/nzbget -D
    ExecStop=<nzbget-directory>/nzbget -Q
    KillMode=none
    Restart=on-failure

    [Install]
    WantedBy=multi-user.target