4

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.

Enrico
  • 491
  • 2
  • 6
  • 15

1 Answers1

1

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

quanta
  • 51,413
  • 19
  • 159
  • 217
  • 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 03: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 03:19