Re: A few observations about systemd
On Mon, 2011-08-01 at 16:49 +0600, Andrey Rahmatullin wrote:
> On Sun, Jul 24, 2011 at 10:52:13PM +0100, Simon McVittie wrote:
> > > even init.d has a documented (and what's
> > > more, actually *working*) implementation of not starting daemons at
> > > boot. It's called 'remove the ******* symlink'.
> > If you remove them, they'll be recreated by the next upgrade; the right
> > way to disable an init script is to change the Snn links to K$((100 - nn)),
> > or in recent sysv-rc, "update-rc.d foo disable".
> Yet update-rc.d(8) contains the following examples:
> Example of disabling a service:
> update-rc.d -f foobar remove
> update-rc.d foobar stop 20 2 3 4 5 .
One assumes those are old examples, before "disable" was added. In any
case, the second command above will add symlinks, so the end result will
_not_ be the same as 'remove the ******* symlink'.