fix: restart nginx after install
This commit is contained in:
@@ -67,6 +67,7 @@ if [ ! -e "${NginxConfDir}/omc.conf" ]; then
|
|||||||
mkdir -p ${NginxConfDir}
|
mkdir -p ${NginxConfDir}
|
||||||
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
||||||
fi
|
fi
|
||||||
|
sudo systemctl restart nginx.service
|
||||||
sudo systemctl restart adb.service
|
sudo systemctl restart adb.service
|
||||||
sudo systemctl restart restagent.service
|
sudo systemctl restart restagent.service
|
||||||
sudo systemctl restart crontask.service
|
sudo systemctl restart crontask.service
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ if [ ! -e "${NginxConfDir}/omc.conf" ]; then
|
|||||||
mkdir -p ${NginxConfDir}
|
mkdir -p ${NginxConfDir}
|
||||||
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
||||||
fi
|
fi
|
||||||
|
sudo systemctl restart nginx.service
|
||||||
sudo systemctl restart adb.service
|
sudo systemctl restart adb.service
|
||||||
sudo systemctl restart restagent.service
|
sudo systemctl restart restagent.service
|
||||||
sudo systemctl restart crontask.service
|
sudo systemctl restart crontask.service
|
||||||
|
|||||||
Reference in New Issue
Block a user