1
0

fix: kvdb issue

This commit is contained in:
2024-07-09 10:22:29 +08:00
parent 5339846f88
commit 0a7268c568

View File

@@ -89,6 +89,7 @@ done
# Check if install kvdb # Check if install kvdb
if [ ! -e "${RedisBinDir}/kvdb_server" ]; then if [ ! -e "${RedisBinDir}/kvdb_server" ]; then
cp -rf ${DependDir}/kvdb/* / cp -rf ${DependDir}/kvdb/* /
chmod 755 ${RedisBinDir}/kvdb*
fi fi
if [ ! -e "${RedisConfDir}/kvdb.conf" ]; then if [ ! -e "${RedisConfDir}/kvdb.conf" ]; then
@@ -162,7 +163,7 @@ sudo systemctl stop restagent.service
sudo systemctl stop crontask.service sudo systemctl stop crontask.service
sudo systemctl stop sshsvc.service sudo systemctl stop sshsvc.service
sudo systemctl stop captrace.service sudo systemctl stop captrace.service
sudo systemctl stop kvdb.service #sudo systemctl stop kvdb.service
#sudo systemctl stop nginx.service #sudo systemctl stop nginx.service
#rm -rf /usr/local/omc #rm -rf /usr/local/omc
rm -rf /etc/nginx/conf.d/omc.conf rm -rf /etc/nginx/conf.d/omc.conf
@@ -170,7 +171,7 @@ sudo systemctl disable restagent.service
sudo systemctl disable crontask.service sudo systemctl disable crontask.service
sudo systemctl disable sshsvc.service sudo systemctl disable sshsvc.service
sudo systemctl disable captrace.service sudo systemctl disable captrace.service
sudo systemctl disable kvdb.service #sudo systemctl disable kvdb.service
sudo systemctl daemon-reload sudo systemctl daemon-reload
else else
sudo systemctl daemon-reload sudo systemctl daemon-reload
@@ -179,7 +180,7 @@ sudo systemctl stop restagent.service
sudo systemctl stop crontask.service sudo systemctl stop crontask.service
sudo systemctl stop sshsvc.service sudo systemctl stop sshsvc.service
sudo systemctl stop captrace.service sudo systemctl stop captrace.service
sudo systemctl stop kvdb.service #sudo systemctl stop kvdb.service
#sudo systemctl start nginx.service #sudo systemctl start nginx.service
sudo systemctl start kvdb.service sudo systemctl start kvdb.service
sudo systemctl start crontask.service sudo systemctl start crontask.service