diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2013-08-27 23:25:15 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-08-27 23:25:15 +0200 |
commit | 831013f35eb6813ef9abaf6ee228330aea84e5ff (patch) | |
tree | ccdd6f0c50cd16ee56bf45b8977b775b90875ff1 /script | |
parent | 0d0b1c0e977c608755eba9824a2fccaafbf94020 (diff) | |
download | init-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-x | script/dh_systemd_enable | 17 |
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 |