solve conflict file
This commit is contained in:
8
debbuild/22.04/usr/local/omc/bin/checkproc.sh
Executable file
8
debbuild/22.04/usr/local/omc/bin/checkproc.sh
Executable 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
|
||||
Reference in New Issue
Block a user