NZBget

NZBGET on Debian (Stretch)

  1. Install the program:

    apt install nzbget
  2. Place the config file on a location expected by the program (to prevent the startup error about a missing config file):

    cp /usr/share/nzbget/webui/nzbget.conf /etc/
  3. Change /etc/nzbget.conf file as such that the control webinterface can be reached from other computers computers:

    # ControlIP=127.0.0.1
      ControlIP=0.0.0.0
  4. Create the user to run the service as:

    adduser --disabled-password --gecos "nzbget" nzbget
  5. Create /lib/systemd/system/nzbget.service file and fill it with:

    [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

    nzbget should be the user (and group) you want to run the service as.

    /usr/bin/nzbget should be path to your nzbget binary.

  6. Enable the service in systemd by issuing:

    systemctl enable nzbget.service:
  7. Start the service:

    systemctl start nzbget.service
  8. Check the service:

    systemctl status nzbget.service
  9. Use your browser of choice and browse to:

    • Address: http://server-ip:6789/
    • Username: nzbget
    • Password: tegbzn6789

References