[dhcp] Fix triggerun scriptlet
Jiří Popelka
jpopelka at fedoraproject.org
Mon May 16 15:51:42 UTC 2011
commit 931db1171c5f639321013d13bc785c04b2d3beaf
Author: Jiri Popelka <jpopelka at redhat.com>
Date: Wed May 11 18:29:05 2011 +0200
Fix triggerun scriptlet
dhcp.spec | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/dhcp.spec b/dhcp.spec
index 7491732..4e138fb 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -557,10 +557,11 @@ fi
%postun libs -p /sbin/ldconfig
-#https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
+
%triggerun -- dhcp < 12:4.2.0-21.P1
+# https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
# Save the current service runlevel info
-# User must manually run systemd-sysv-convert --apply httpd
+# User must manually run systemd-sysv-convert --apply dhcpd
# to migrate them to systemd targets
/usr/bin/systemd-sysv-convert --save dhpd
/usr/bin/systemd-sysv-convert --save dhpd6
@@ -572,7 +573,6 @@ fi
/bin/systemctl try-restart dhcpd.service >/dev/null 2>&1 || :
/bin/systemctl try-restart dhcpd6.service >/dev/null 2>&1 || :
/bin/systemctl try-restart dhcrelay.service >/dev/null 2>&1 || :
-/bin/systemctl daemon-reload >/dev/null 2>&1 || :
%files
More information about the scm-commits
mailing list