fix: deb安装对systemctl stop的操作
This commit is contained in:
@@ -99,16 +99,9 @@ if [ "$M_PARAM" = "install" -o "$M_PARAM" = "upgrade" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -n "Stopping OMC service ... "
|
||||
systemctl stop restagent.service
|
||||
systemctl stop crontask.service
|
||||
systemctl stop sshsvc.service
|
||||
systemctl stop captrace.service
|
||||
echo "done"
|
||||
|
||||
echo -n "Starting OMC service ... "
|
||||
systemctl start crontask.service
|
||||
systemctl start sshsvc.service
|
||||
systemctl start captrace.service
|
||||
systemctl start restagent.service
|
||||
systemctl restart crontask.service
|
||||
systemctl restart sshsvc.service
|
||||
systemctl restart captrace.service
|
||||
systemctl restart restagent.service
|
||||
echo "done"
|
||||
|
||||
Reference in New Issue
Block a user