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!!!

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.