❦ 25 mai 2013 15:53 CEST, Michael Biebl <[email protected]> :

>> With classis SysV init, we can prevent a daemon to be started on boot
>> by replacing the symlink from S* to K* in the appropriate
>> runlevel.
>
> Yeah, the interface to use for that is
> update-rc.d foo disable|enable
>
>> This does not seem to work with systemd.
>
> Exactly the same command exists for systemd:
> systemctl enable|disable foo.service
>
> That command creates the relevant symlinks, to enable the service. In
> most cases that means creating a symlinks in multi-user.target.wants
> which is the equivalent to a symlink in /et/rc?.d/

Well, it does not work for me:

$ sudo systemctl disable snmpd.service
Failed to issue method call: No such file or directory
-- 
panic("esp: what could it be... I wonder...");
        2.2.16 /usr/src/linux/drivers/scsi/esp.c

Attachment: pgp6wqKc0LSn8.pgp
Description: PGP signature

Reply via email to