init.d-script-does-not-source-init-functions

The /etc/init.d script does not source /lib/lsb/init-functions. The systemd package provides /lib/lsb/init-functions.d/40-systemd to redirect /etc/init.d/$script calls to systemctl.

Please add a line like this to your /etc/init.d script:

. /lib/lsb/init-functions
Severity: warning
Experimental: false

See also