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:
parent
f49a611f1b
commit
173e11e6f5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user