mirror of https://gitee.com/openkylin/libvirt.git
spec: chkconfig(8) and service(8) are in /sbin/, not /bin/
Signed-off-by: Michael Chapman <mike@very.puzzling.org>
This commit is contained in:
parent
c0617421ab
commit
3e86757358
|
@ -1792,9 +1792,9 @@ if [ $1 -ge 1 ] ; then
|
|||
/bin/systemctl start virtlogd.socket || :
|
||||
%else
|
||||
/sbin/chkconfig libvirtd 1>/dev/null 2>&1 &&
|
||||
/bin/chkconfig virtlogd on || :
|
||||
/sbin/chkconfig virtlogd on || :
|
||||
/sbin/service libvirtd status 1>/dev/null 2>&1 &&
|
||||
/bin/service virtlogd start || :
|
||||
/sbin/service virtlogd start || :
|
||||
%endif
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue