checkService.sh revert
This commit is contained in:
parent
d4badff4bf
commit
159cf27603
@ -79,7 +79,7 @@ function compare(){
|
|||||||
|
|
||||||
function restart(){
|
function restart(){
|
||||||
sleep 4
|
sleep 4
|
||||||
#systemctl restart $serviceName
|
systemctl restart $serviceName
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "error: systemctl restart ${serviceName} failed!"
|
echo "error: systemctl restart ${serviceName} failed!"
|
||||||
sleep 3
|
sleep 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user