On 4/22/20 4:11 PM, Sam Hartman wrote: >>>>>> "Andreas" == Andreas Henriksson <andr...@fatal.se> writes: > > Andreas> Hello, FWIW I do not share Andrej Shaduras view on this. My > Andreas> interpretation is basically the opposite. The invoke-rc.d, > Andreas> policy-rc.d and update-rc.d policy mandated abstraction is > Andreas> solely for the use of maintainer scripts in debian packages > Andreas> (and should not be used by init systems or elsewhere). > > Andreas> Note also that the 'service' utility abstraction, which is > Andreas> supposed to be for (interactive) administator usage also > Andreas> does not care about policy-rc.d (as designed). > > And note that all of the above is only for init scripts. > As an example systemd has a native interface for turning on and off > service units. > (disable/enable). > And a native interface for a sysadmin overriding that (masking).
Unless I'm mistaking, that's not useful if you want to disable starting the daemon before installing it (ie: before the .service exists in the system). Cheers, Thomas Goirand (zigo)