Re: A few observations about systemd
On Mon, Jul 25, 2011 at 11:26:23AM +0100, Roger Leigh wrote:
> Do we actually have a standardised interface that can disable a service
> and then reenable it so that it is in exactly the same state as before
> it was disabled, without requiring black magic and/or prior knowledge
> of the correct runlevels? update-rc.d certainly isn't it.
Hm. But what exactly is wrong with update-rc.d <service> enable | disable ?
It seems to do what you want (in the case there is no black magick in
/etc/default, of course, or simply when {ENABLE|RUN|WHATEVER}=yes by
default).
--
Stanislav
Reply to: