summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-06-19 19:47:29 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-06-19 19:47:29 +0200
commit5838eda13c4e00b2a6dc4650acbfccf7b02a615c (patch)
treefffc737f6a04b38acdb9b07cc36dbaccc7c2554b
parent8a13d11a803f31277ecbef8b9200d9f4973ae3fd (diff)
downloadinit-system-helpers-5838eda13c4e00b2a6dc4650acbfccf7b02a615c.tar.gz
document debug env variable
-rwxr-xr-xscript/deb-systemd-helper12
1 files changed, 12 insertions, 0 deletions
diff --git a/script/deb-systemd-helper b/script/deb-systemd-helper
index 2414c70..1beb750 100755
--- a/script/deb-systemd-helper
+++ b/script/deb-systemd-helper
@@ -53,6 +53,18 @@ systemd unit files. It is specifically NOT intended to be used interactively by
users. Instead, users should run systemd and use systemctl, or not bother about
the systemd enabled state in case they are not running systemd.
+=head1 ENVIRONMENT
+
+=over 4
+
+=item B<_DEB_SYSTEMD_HELPER_DEBUG>
+
+If you export _DEB_SYSTEMD_HELPER_DEBUG=1, deb-systemd-helper will print debug
+messages to stderr (thus visible in dpkg runs). Please include these when
+filing a bugreport.
+
+=back
+
=cut
use strict;