feat: init build release

This commit is contained in:
simonzhangsz committed 2024-12-12 18:10:43 +08:00
1 parent 4f075ae506
commit 60a8af09be
43 files changed
+1048 -1

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# !/bin/bash
#rm -rf /usr/local/omc
rm -rf /etc/nginx/conf.d/omc.conf
rm -f /usr/local/bin/omcd
systemctl daemon-reload
if systemctl list-units --type=service --all | grep -q 'restagent.service'; then
echo -n "Stopping OMC service ... "
systemctl stop restagent.service
systemctl stop crontask.service
systemctl stop sshsvc.service
systemctl stop captrace.service
echo "done"
fi
systemctl disable restagent.service
systemctl disable crontask.service
systemctl disable sshsvc.service
systemctl disable captrace.service
systemctl daemon-reload