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