summaryrefslogtreecommitdiffstats
path: root/tags/m/maintainer-script-calls-service.tag
blob: 77e73459c6eb2fd6438fd1acf71e5b33250c2423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 <code>update-rc.d(8)</code> and
 <code>invoke-rc.d(8)</code>. If your package installs this service, this
 can be automated using <code>dh&lowbar;installinit(1)</code> or
 <code>dh&lowbar;installsystemd(1)</code>.
See-Also: debian-policy 9.3.3