1
0

fix: deb安装前systemctl enable前reload

This commit is contained in:
TsMask
2024-10-12 16:06:54 +08:00
parent c17ba60b56
commit 12fb46302a
2 changed files with 4 additions and 0 deletions

View File

@@ -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