add: 提交

This commit is contained in:
lichang committed 2023-08-14 17:02:50 +08:00
1 parent 897d45d443
commit 5ac2e981ea
163 files changed
+29466

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
process_name="restagent"
if ! pgrep -x "$process_name" >/dev/null; then
echo "$process_name is not running. Restarting..."
systemctl restart keepalived
fi