On Fri, Nov 20, 2015 at 07:10:57AM +0100, Andreas Henriksson wrote:
> Another status update/for the record:
[...]
> One might take the chance to comment on that it seems the
> systemctl/systemd related part at the end seems pretty much to be a
> duplication of the LSB init hooks shipped by systemd.
> (/lib/lsb/init-functions.d/40-systemd)
> Possibly that part of invoke-rc.d could just be removed and when running
> under systemd the init script would be executed which should in turn be
> redirected to systemctl commands. This would be slightly less effective
> (but avoid duplication), but the major drawback would probably be that
> in case a package has only a systemd unit and no equivalent init script
> then that would totally fail.... so leaving things as they are is likely
> desired despite the duplication.

Same comment applies to 'service' which also has same/similar code
at the end to use systemctl directly instead of via init script.

Regards,
Andreas Henriksson

Reply via email to