fix: service restart after upgrade db
This commit is contained in:
@@ -27,6 +27,7 @@ case "${extension}" in
|
|||||||
EOF
|
EOF
|
||||||
if [ ${neType} == "OMC" ]; then
|
if [ ${neType} == "OMC" ]; then
|
||||||
${omcBin}/setomc.sh -m upgrade >> ${logFile}
|
${omcBin}/setomc.sh -m upgrade >> ${logFile}
|
||||||
|
${omcBin}/omcsvc.sh restart
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
rpm)
|
rpm)
|
||||||
@@ -42,6 +43,7 @@ EOF
|
|||||||
EOF
|
EOF
|
||||||
if [ ${neType} == "OMC" ]; then
|
if [ ${neType} == "OMC" ]; then
|
||||||
${omcBin}/setomc.sh -m upgrade >> ${logFile}
|
${omcBin}/setomc.sh -m upgrade >> ${logFile}
|
||||||
|
${omcBin}/omcsvc.sh restart
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user