fix: deb安装前systemctl enable前reload
This commit is contained in:
1 parent
c17ba60b56
commit
12fb46302a
2 files changed
+4
No files matched your search
@@ -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