From 63415a2d2b13df368cfdd9ad50184f7b77c4af9f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 16 Apr 2011 02:42:23 +0200 Subject: [PATCH] man: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect whether a sysv service is enabled --- man/daemon.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/daemon.xml b/man/daemon.xml index ab355cd5..bf454fd0 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -869,7 +869,7 @@ fi a fragment like the following: %triggerun -- foobar < 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>&1 || : fi -- 2.39.5