Tom H [2015-08-18 4:49 -0400]: > > 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.
Right, and it's the very tool to do just that. What gives the impression that it is a maintainer scipt-only tool? > 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. That would make things even more confusing IMHO. "service" is for runtime starting/stopping, "update-rc.d" for configuring which services start at boot. It has worked like that forever in Debian/Ubuntu, with any init system. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss