fix service name in %%triggerun
This commit is contained in:
parent
7d1d5f149d
commit
d3ff70c319
@ -94,9 +94,10 @@ getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
|
||||
/sbin/install-info %{_infodir}/chrony.info.gz %{_infodir}/dir &> /dev/null || :
|
||||
|
||||
%triggerun -- chrony < 1.25
|
||||
if /sbin/chkconfig --level 3 chronyd ; then
|
||||
/bin/systemctl enable chronyd.esrvice &> /dev/null || :
|
||||
if /sbin/chkconfig --level 3 chronyd; then
|
||||
/bin/systemctl enable chronyd.service &> /dev/null
|
||||
fi
|
||||
:
|
||||
|
||||
%preun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user