fix: ...
This commit is contained in:
@@ -98,12 +98,12 @@ if [ "$M_PARAM" = "install" -o "$M_PARAM" = "upgrade" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo -n "Stopping OMC service ... "
|
# echo -n "Stopping OMC service ... "
|
||||||
systemctl stop restagent.service
|
# systemctl stop restagent.service
|
||||||
systemctl stop crontask.service
|
# systemctl stop crontask.service
|
||||||
systemctl stop sshsvc.service
|
# systemctl stop sshsvc.service
|
||||||
systemctl stop captrace.service
|
# systemctl stop captrace.service
|
||||||
echo "done"
|
# echo "done"
|
||||||
|
|
||||||
echo -n "Starting OMC service ... "
|
echo -n "Starting OMC service ... "
|
||||||
systemctl start crontask.service
|
systemctl start crontask.service
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
# !/bin/bash
|
# !/bin/bash
|
||||||
|
|
||||||
FERootDir=/usr/local/omc/htdocs/front
|
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
|
# apt-get install zip
|
||||||
# clear front-end old hash js files
|
# clear front-end old hash js files
|
||||||
rm -rf ${FERootDir}/assets
|
rm -rf ${FERootDir}/assets
|
||||||
rm -rf ${FERootDir}/js
|
rm -rf ${FERootDir}/js
|
||||||
rm -rf ${FERootDir}/index.*.js
|
rm -rf ${FERootDir}/index.*.js
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user