summaryrefslogtreecommitdiff
path: root/dh_installinit
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-04-10 09:44:53 +0000
committerNiels Thykier <niels@thykier.net>2017-04-10 09:44:57 +0000
commit57147271f66bb96631f38acf1364c7dc3a6cc561 (patch)
treedd30cb13744f3d7f5c3eee1fbb0cc27b32fd030a /dh_installinit
parent1eaff5640a44deb03b441da7db51c03b0e06a444 (diff)
downloaddebhelper-57147271f66bb96631f38acf1364c7dc3a6cc561.tar.gz
dh_installinit: Document a caveat in compat 10 and earlier
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installinit')
-rwxr-xr-xdh_installinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/dh_installinit b/dh_installinit
index ba7bdc49..752ad262 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -25,6 +25,12 @@ It also automatically generates the F<postinst> and F<postrm> and F<prerm>
commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop
the init scripts.
+In compat 10 or earlier: If a package only ships a systemd service
+file and no sysvinit script is provided, you may want to exclude the
+call to dh_installinit for that package (e.g. via B<-N>). Otherwise,
+you may get warnings from lintian about init.d scripts not being
+included in the package.
+
=head1 FILES
=over 4