Tag: maintainer-script-calls-service
Severity: error
Check: scripts
Experimental: yes
Renamed-From: maintainer-script-should-not-use-service
Explanation: The maintainer script apparently runs the service command. This
command is reserved for local administrators and must never be used
by a Debian package.
.
Please replace with calls to update-rc.d(8)
and
invoke-rc.d(8)
. If your package installs this service, this
can be automated using dh_installinit(1)
or
dh_installsystemd(1)
.
See-Also: debian-policy 9.3.3