Ignoring Ubuntu Upstart for System V compatibility

If you’d like to start an Ubuntu service using the System V-compatible runlevels, use “update-rc.d.” For example:

# update-rc.d ssh defaults
update-rc.d: warning: ssh stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
Adding system startup for /etc/init.d/ssh ...
/etc/rc0.d/K20ssh -> ../init.d/ssh
/etc/rc1.d/K20ssh -> ../init.d/ssh
/etc/rc6.d/K20ssh -> ../init.d/ssh
/etc/rc2.d/S20ssh -> ../init.d/ssh
/etc/rc3.d/S20ssh -> ../init.d/ssh
/etc/rc4.d/S20ssh -> ../init.d/ssh
/etc/rc5.d/S20ssh -> ../init.d/ssh


2 Comments on “Ignoring Ubuntu Upstart for System V compatibility”

  1. Adam Monsen says:

    Ah, nice! I didn’t know about the “defaults” argument.

  2. Forest says:

    I guess an event-driven system makes some sense for something that’s so end-user focused, right? Upstart is still a bit weird for me.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s