Archive for September, 2012

Ubuntu’s “upstart” versus old school “update-rc.d”

Monday, September 24th, 2012

Every distro seems to have their own damn way of managing startup services. One of these days I should really sit down and figure out how runlevels work.

Or maybe I’ll continue to ignore them since Ubuntu’s simplified (and fairly intuitive) upstart seems to be make it easier to not worry about levels.

Anyway, since Ubuntu is a bit schizophrenic these days with some services using upstart and others not, here are some handy commands for adding/removing startup services. Comments welcome since this is the kind of thing I do only very rarely.


$ initctl list shows a quick list of startup services. I’m not really sure what’s happening under the hood here, which is why it’s often useful to…


…see what’s starting at various runlevels. Try this:

$ ls /etc/rc?.d

To see if amavis is starting on boot we can:

$ ls /etc/rc?.d | grep amavis

And since we don’t need it:

$ sudo update-rc.d -f amavis remove
Removing any system startup links for /etc/init.d/amavis ...

September 11th

Wednesday, September 12th, 2012

Teleprompter Nation

Friday, September 7th, 2012

Must watch.