Ubuntu Server 10.04: enable/disable services on startup

Nicolas Kovacs info at microlinux.fr
Thu Sep 29 05:27:37 UTC 2011


Hi,

Short question: what's the "Ubuntu way" of enabling/disabling services 
on startup? Speaking of this, what are the different runlevels 
corresponding to? So far, I'm accustomed to working regularly on RHEL 
and Slackware.

RHEL: runlevel 3 (commandline/multiuser) vs. 5 (graphical/multiuser)

# chkconfig --level 345 <service> on|off

Slackware: runlevel 3 (commandline/multiuser) vs. 4 (graphical/multiuser)

# chmod 0755 /etc/rc.d/rc.<service> --> activate
# chmod 0644 /etc/rc.d/rc.<service> --> deactivate

How are things supposed to work in Ubuntu?

cheers,

Niki
-- 
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32




More information about the ubuntu-users mailing list