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.

link|improve this question

feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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