diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 06f83f0..4ee4bd1 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -73,6 +73,8 @@ if [ ! -e "${NginxConfDir}/omc.conf" ]; then cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir}; fi +systemctl daemon-reload + # disable auto upgrade systemctl disable --now unattended-upgrades diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index c67e466..68f404f 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -73,6 +73,8 @@ if [ ! -e "${NginxConfDir}/omc.conf" ]; then cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir}; fi +systemctl daemon-reload + # disable auto upgrade systemctl disable --now unattended-upgrades