Update chk.sh

This commit is contained in:
Mr Chen
2023-11-16 19:45:43 +08:00
parent b3deeb5a39
commit e22f296e38
+2 -1
View File
@@ -1,9 +1,10 @@
#!/bin/bash
# 计划任务,恢复后,可自动拉起keepalived
# bash {$SERVER_PATH}/keepalived/scripts/chk.sh mysql
cd {$SERVER_PATH}
# check script bash
curPath=`pwd`
rootPath=$(dirname "$curPath")