[sblim-sfcb/f15/master] Fix systemd-related scriptlets.
Bill Nottingham
notting at fedoraproject.org
Mon May 9 18:46:05 UTC 2011
commit 173e11e6f573124dceccf2f453ab67cb747d4d05
Author: Bill Nottingham <notting at redhat.com>
Date: Thu May 5 16:54:18 2011 -0400
Fix systemd-related scriptlets.
- chkconfig without a level forwards to systemctl, which is not useful for
SysV migrations. Pass an explicit level.
sblim-sfcb.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sblim-sfcb.spec b/sblim-sfcb.spec
index 62d95f4..76a6e64 100644
--- a/sblim-sfcb.spec
+++ b/sblim-sfcb.spec
@@ -110,7 +110,7 @@ if [ $1 -eq 1 ]; then
fi
%triggerun -- sblim-sfcb < 1.3.10-3
-if /sbin/chkconfig sblim-sfcb ; then
+if /sbin/chkconfig --level 3 sblim-sfcb ; then
/bin/systemctl enable sfcb.service >/dev/null 2>&1 || :
fi
More information about the scm-commits
mailing list