build: 打包支持rpm
This commit is contained in:
1 parent
3c186b34ae
commit
40a2b496e6
178 files changed
+201
-32
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
process_name="omc"
|
||||
|
||||
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