SOLVED how to autostart NzbGet

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
Hi there,

I have created a jail, got into the jail (oh dear me) and installed nzbget with
Code:
pkg install nzbget
but now I would like to start and autostart it after reboot.

Thanks for all willing to help
 

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
Did it, just downloaded the FreeBSD version and followed their instructions.
 

kazooless

Dabbler
Joined
Aug 9, 2013
Messages
32
Did it, just downloaded the FreeBSD version and followed their instructions.

Can you please elaborate? From the NZBGET installation page (https://nzbget.net/installation-on-freebsd), all they say is:

Starting on boot
NZBGet can run in background as daemon (service). When starting NZBGet use command -D instead of -s:

<nzbget-directory>/nzbget -D

You will not see any output of this command. Add this line to the init scripts of your system. Also add a shutdown line to the shutdown scripts:

<nzbget-directory>/nzbget -Q

I couldn't figure out how to do this on my own so I installed via the command you first shared but it doesn't allow for automatic upgrades.
 

haucesauce

Cadet
Joined
Sep 20, 2017
Messages
2
Can you please elaborate? From the NZBGET installation page (https://nzbget.net/installation-on-freebsd), all they say is:



I couldn't figure out how to do this on my own so I installed via the command you first shared but it doesn't allow for automatic upgrades.

I'm unsure how to execute a .sh script to start and stop the nzbget daemon at startup and shutdown of the jail. The nzbget package [pkg install nzbget] isn't being maintained.
 
Top