fix: deb安装前systemctl enable前reload
This commit is contained in:
@@ -73,6 +73,8 @@ if [ ! -e "${NginxConfDir}/omc.conf" ]; then
|
|||||||
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
# disable auto upgrade
|
# disable auto upgrade
|
||||||
systemctl disable --now unattended-upgrades
|
systemctl disable --now unattended-upgrades
|
||||||
|
|
||||||
|
|||||||
@@ -73,6 +73,8 @@ if [ ! -e "${NginxConfDir}/omc.conf" ]; then
|
|||||||
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir};
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
# disable auto upgrade
|
# disable auto upgrade
|
||||||
systemctl disable --now unattended-upgrades
|
systemctl disable --now unattended-upgrades
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user