@ -113,7 +113,7 @@ def isInstalledWeb():
def restartWeb():
if isInstalledWeb():
initd = getServerDir() + '/openresty/init.d/openresty'
execShell(initd + ' ' + 'reload')
execShell(initd + ' ' + 'restart')
def restartMw():
@ -20,6 +20,8 @@ PATH=$PATH:$mw_path/bin
if [ -f $mw_path/bin/activate ];then
source $mw_path/bin/activate
else
echo ""
fi