diff --git a/scripts/update.sh b/scripts/update.sh index b69939be9..d5ddd6d7a 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -72,6 +72,7 @@ fi echo "use system version: ${OSNAME}" cd /www/server/mdserver-web && bash scripts/update/${OSNAME}.sh +bash /etc/rc.d/init.d/mw restart bash /etc/rc.d/init.d/mw default if [ -f /usr/bin/mw ];then diff --git a/scripts/update_dev.sh b/scripts/update_dev.sh index b2d05ce05..4e030abbf 100755 --- a/scripts/update_dev.sh +++ b/scripts/update_dev.sh @@ -70,6 +70,7 @@ fi echo "use system version: ${OSNAME}" cd /www/server/mdserver-web && bash scripts/update/${OSNAME}.sh +bash /etc/rc.d/init.d/mw restart bash /etc/rc.d/init.d/mw default if [ -f /usr/bin/mw ];then