Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What is the best way of managing which services start when?

service --status-all lists all services, but does a poor job of the service status (most are "unknown") and does not provide any method of disabling/enabling services.

I read that modifying/deleting the symlinks in the rc*.d folders is not advised, because they can be recreated when their package is upgraded.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

service --status-all is for Upstart. If you are using traditional SysV init script, take a look at sysv-rc-conf or install rcconf.

share|improve this answer
    
Does rcconf work for both upstart and sysv? or do I need two tools to manage all the services, because on Ubuntu 10.04 services seem to be a mix of the two. –  Enrico Sep 24 '11 at 3:11
    
I haven't got a Ubuntu in front of me to test, but rcconf seems is only for SysV. –  quanta Sep 24 '11 at 3:19
    
as good as it gets, i suppose. thanks. –  Enrico Sep 26 '11 at 18:53
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.