equivalent of chkconfig
Tom H
tomh0665 at gmail.com
Tue Aug 18 08:49:03 UTC 2015
On Mon, Aug 17, 2015 at 9:24 AM, Oliver Grawert <ogra at ubuntu.com> wrote:
> Am Montag, den 17.08.2015, 12:38 +0100 schrieb João M. S. Silva:
First a correction. I meant to say "as in Debian for sysv damons" not
"as in Debian".
This is the problem with hybrid init setups.
With upstart, we could use update-rc.d for sysv init daemons and "echo
manual > /etc/init/daemon.override" for upstart daemons.
With systemd, the latter's replaced by "systemctl disable daemon[.service]".
The upstart way isn't too much of a PitA but having a "native" command
makes Ubuntu more like other systems that are in use.
>> does it mean I'm not using systemd? I don't seem to have systemd
>> installed (Ubuntu 14.04.3 LTS).
>
> update-rc.d and invoke-rc.d are tools for package maintainers only (to
> be used from pre/postinst scripts) and only applies to sysv-init
> scripts ...
Yes and no. They are meant for maintainer scripts but update-rc.d is
needed by admins for enabling/disabling daemons because there isn't
another tool available in Debian and Ubuntu.
There was a Debian bug for service, the admin equivalent of
invoke-rc.d, to be enhanced to forward "service daemon enable|disable"
to update-rc.d in order to provide an admin interface but the Debian
systemd and upstart maintainers requested that this work with their
respective toys and the bug went nowhere.
More information about the Ubuntu-devel-discuss
mailing list