checkService.sh revert

This commit is contained in:
zhangkun9038@dingtalk.com 2024-03-01 14:36:41 +08:00
parent d4badff4bf
commit 159cf27603

View File

@ -79,7 +79,7 @@ function compare(){
function restart(){
sleep 4
#systemctl restart $serviceName
systemctl restart $serviceName
if [ $? -ne 0 ]; then
echo "error: systemctl restart ${serviceName} failed!"
sleep 3