On 26.05.2012 02:37, shawn wrote: > actually, when invoke-rc.d invokes a standard init script, it deferrs to > systemd, which then does it.
Not fully correct. For this to work, the sysv init script needs to use the lsb init functions, i.e. source /lib/lsb/init-functions. We use this "hack" to redirect calls to systemctl. From the ~1050 sysv init scripts we have in Debian ~650 use /lib/lsb/init-functions. So the coverage is ok, but not complete. > If it is a native systemd service which DOES NOT have an init script > then invoke-rc.d does not work. We still need proper support for systemd. Not only for native systemd services (which currently isn't an issue since we don't add invoke-rc.d calls for systemd-only services to our maintainer scripts), but also because this is the cleaner solution and provides full coverage. There is also "service", which we should teach about systemd directly. Cheers, 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