So I added a shiny new znc init script to /etc/init.d/ and I want to enable it so I can use upstart to start and stop the service and control it at different runlevels.

First, ensure the script is 755, then lets use chkconfig to get this loaded up!

If you don’t already have it:

apt-get install chkconfig

then do the following:

chkconfig –add znc chkconfig –level 2345 znc on service znc start

And yay!!!

Blog Logo

Mario Loria




Because gets old after a while.

Back to Overview