This commit is contained in:
simonzhangsz committed 2024-09-04 14:56:50 +08:00
1 parent 915807dc53
commit 8d3dccbeef
2 files changed
+16 -6

No files matched your search

+6 -6
View File
@@ -98,12 +98,12 @@ if [ "$M_PARAM" = "install" -o "$M_PARAM" = "upgrade" ]; then
exit 1
fi
fi
echo -n "Stopping OMC service ... "
systemctl stop restagent.service
systemctl stop crontask.service
systemctl stop sshsvc.service
systemctl stop captrace.service
echo "done"
# echo -n "Stopping OMC service ... "
# systemctl stop restagent.service
# systemctl stop crontask.service
# systemctl stop sshsvc.service
# systemctl stop captrace.service
# echo "done"
echo -n "Starting OMC service ... "
systemctl start crontask.service
+10
View File
@@ -1,8 +1,18 @@
# !/bin/bash
FERootDir=/usr/local/omc/htdocs/front
echo -n "Stopping OMC service ... "
systemctl stop restagent.service
systemctl stop crontask.service
systemctl stop sshsvc.service
systemctl stop captrace.service
echo "done"
# apt-get install zip
# clear front-end old hash js files
rm -rf ${FERootDir}/assets
rm -rf ${FERootDir}/js
rm -rf ${FERootDir}/index.*.js