Am 11.11.18 um 22:08 schrieb Dmitry Bogatov:
> 
> [2018-11-09 22:16] Michael Biebl <bi...@debian.org>
>> Just tried the
>> #!/usr/bin/env /lib/init/init-d-script
>> proposal.
>> Seem like this breaks the systemctl integration again.
>> See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826214
> 
> Wierd. I have no systemd box to check, but are you sure it works with
> #!/lib/init/init-d-script?

It doesn't work with #!/lib/init/init-d-script either.

Only
============================
#!/bin/sh

if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
============================
currently works wrt to systemctl redirection.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to