summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-16 02:42:23 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 02:42:23 +0200
commit63415a2d2b13df368cfdd9ad50184f7b77c4af9f (patch)
treef6e2a11359e61eca51bde7070fbbc4325bd6f3f6 /man
parent0b4ebf07bcdf9ca684424b72f2e5a19cacea42c5 (diff)
man: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect whether a sysv service is enabled
Diffstat (limited to 'man')
-rw-r--r--man/daemon.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/daemon.xml b/man/daemon.xml
index ab355cd593..bf454fd040 100644
--- a/man/daemon.xml
+++ b/man/daemon.xml
@@ -869,7 +869,7 @@ fi</programlisting>
a fragment like the following:</para>
<programlisting>%triggerun -- foobar &lt; 0.47.11-1
-if /sbin/chkconfig --level 3 foobar ; then
+if /sbin/chkconfig --level 5 foobar ; then
/bin/systemctl --no-reload enable foobar.service foobar.socket >/dev/null 2>&amp;1 || :
fi</programlisting>