summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-08-27 23:25:15 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-08-27 23:25:15 +0200
commit831013f35eb6813ef9abaf6ee228330aea84e5ff (patch)
treeccdd6f0c50cd16ee56bf45b8977b775b90875ff1 /script
parent0d0b1c0e977c608755eba9824a2fccaafbf94020 (diff)
downloadinit-system-helpers-831013f35eb6813ef9abaf6ee228330aea84e5ff.tar.gz
dh_systemd_enable: document debian/package.{service,tmpfile}
While these files are installed in dh_installinit for historic reasons, many people are looking for documentation in dh_systemd_enable. And they are not completely wrong, since dh_systemd_enable needs to install these files anyway, and will be the only script to do so in the future.
Diffstat (limited to 'script')
-rwxr-xr-xscript/dh_systemd_enable17
1 files changed, 17 insertions, 0 deletions
diff --git a/script/dh_systemd_enable b/script/dh_systemd_enable
index bfaf030..358d95a 100755
--- a/script/dh_systemd_enable
+++ b/script/dh_systemd_enable
@@ -32,6 +32,23 @@ service without an [Install] section. This service file cannot be enabled or
disabled (a state called "static" by systemd) because it has no
[Install] section. Therefore, running dh_systemd_enable does not make sense.
+=head1 FILES
+
+=over 4
+
+=item debian/I<package>.service
+
+If this exists, it is installed into lib/systemd/system/I<package>.service in
+the package build directory.
+
+=item debian/I<package>.tmpfile
+
+If this exists, it is installed into usr/lib/tmpfiles.d/I<package>.conf in the
+package build directory. (The tmpfiles.d mechanism is currently only used
+by systemd.)
+
+=back
+
=head1 OPTIONS
=over 4