Re: administration of initscripts
Le 15/04/2013 16:55, Roger Leigh a écrit :
On Mon, Apr 15, 2013 at 08:39:27AM -0400, Stefan Monnier wrote:
I have been using Debian for many years now. In all of that time I
have never wanted to "manage" init scripts. I always wonder. What
are people trying to do?
What is more complicated than this. If you want it then install it.
If you don't want it then remove or purge it. With those two commands
all management is handled automatically.
I don't know need/use multiple run-levels. But I do wish it were
easier/standard to disable particular services. Uninstalling the
corresponding package is not always an option (e.g. I'm thinking of the
network-manager package, for example, or a daemon which you prefer to
run "on demand" when a particular user logs in, ...).
update-rc.d foo disable|enable
is one method.
Which does not only work since unsing telinit to change runlevel after
boot do not start the services enabled in the new level.