From e53b9490254de202028992d7cbb984f7946cfad2 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Tue, 9 Jul 2024 10:42:32 +0800 Subject: [PATCH] fix: kvdb issue --- rpmbuild/SPECS/omc.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpmbuild/SPECS/omc.spec b/rpmbuild/SPECS/omc.spec index 747cf8c..901b9e8 100644 --- a/rpmbuild/SPECS/omc.spec +++ b/rpmbuild/SPECS/omc.spec @@ -90,6 +90,7 @@ done if [ ! -e "${RedisBinDir}/kvdb_server" ]; then cp -rf ${DependsRootDir}/kvdb/* / chmod 755 ${RedisBinDir}/kvdb* + systemctl enable kvdb.service fi if [ ! -e "${RedisConfDir}/kvdb.conf" ]; then @@ -134,7 +135,7 @@ systemctl enable restagent.service systemctl enable crontask.service systemctl enable sshsvc.service systemctl enable captrace.service -systemctl enable kvdb.service +#systemctl enable kvdb.service systemctl stop restagent.service systemctl stop crontask.service systemctl stop sshsvc.service