Am 25.05.2013 16:18, schrieb Vincent Bernat: > ❦ 25 mai 2013 15:53 CEST, Michael Biebl <bi...@debian.org> : > >>> 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
Does snmpd ship a native service file. If so, could you attach it please? Atm systemctl enable|disable does only operate on native .service files. Michael Stapelberg has prepared patches to forward such enable requests to update-rc.d for SysV services (and vice versa). Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature