diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index d7abe47..e5ae80a 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -66,7 +66,8 @@ fi if [ ! -e "${NginxConfDir}/omc.conf" ]; then mkdir -p ${NginxConfDir} cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir}; -fi +fi +sudo systemctl restart nginx.service sudo systemctl restart adb.service sudo systemctl restart restagent.service sudo systemctl restart crontask.service diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index 14f4557..7395dff 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -65,7 +65,8 @@ fi if [ ! -e "${NginxConfDir}/omc.conf" ]; then mkdir -p ${NginxConfDir} cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir}; -fi +fi +sudo systemctl restart nginx.service sudo systemctl restart adb.service sudo systemctl restart restagent.service sudo systemctl restart crontask.service