Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there an elegant way, other than messing with /etc/rc?.d, to control the daemon loading at boot time?

My personal concern is stopping Nginx from loading at boot, while setting lighttpd to do load at boot.

Thanks in advance, Adam

share|improve this question
    
@karthick87: Startup applications is for gnome session apps, not for system daemons –  João Pinto Nov 29 '10 at 16:22
    
Oke what abt update-rc.d? –  karthick87 Nov 29 '10 at 16:44
add comment

1 Answer

up vote 3 down vote accepted

The proper way to manage service daemons is managing links on /etc/rc?.d, there are some tools which allow you to easily manage the startup order without having to manually change the links. Install the package "sysv-rc-conf" and run "sysv-rc-conf" from the terminal.

Please note that it doesn't allow you to manage services which use the new Ubuntu init system (upstart), there is no easy way to manage those yet.

share|improve this answer
    
what versions are using upstart? –  Adam Matan Nov 29 '10 at 16:41
    
Services using upstart have a .conf file at /etc/init/ , to disable services on upstart the easier way is to rename their .conf file to .conf.disable . –  João Pinto Nov 29 '10 at 16:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.