1
0

fix: postinst enhancement

This commit is contained in:
2024-09-03 18:46:50 +08:00
parent 2cfc10c86a
commit e7ea8dbf4a
2 changed files with 8 additions and 3 deletions

View File

@@ -99,13 +99,16 @@ if [ "$M_PARAM" = "install" -o "$M_PARAM" = "upgrade" ]; then
fi
fi
echo -n "Stopping OMC service ... "
systemctl stop restagent.service
systemctl stop crontask.service
systemctl stop sshsvc.service
systemctl stop captrace.service
echo "done"
echo -n "Starting OMC service ... "
systemctl start crontask.service
systemctl start sshsvc.service
systemctl start captrace.service
systemctl start restagent.service
echo "done"