So I’m doing some server/hdd moves etc.. that will be temporary. So I wanted to disable some of my services that rely on those mounts etc.. Rather than completely change runlevels the daemon starts and stops on (update-rc.d) or messing with symlinks in /etc/rc2.d, I found a much easier way:

Disable daemon from any runlevels: # insserv -r

Enable daemon again. It will keep any runlevels it previously had. # insserv


EDIT: On ubuntu, install chkconfig and run a:

chkconfig -s off

Blog Logo

Mario Loria




Because gets old after a while.

Back to Overview