Fix systemd-related scriptlets.

- chkconfig without a level forwards to systemctl, which is not useful for
  SysV migrations. Pass an explicit level.
This commit is contained in:
Bill Nottingham 2011-05-05 16:54:18 -04:00
parent f49a611f1b
commit 173e11e6f5

View File

@ -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