fix: deb安装前systemctl enable前reload

This commit is contained in:
TsMask committed 2024-10-12 16:06:54 +08:00
1 parent c17ba60b56
commit 12fb46302a
2 files changed
+4

No files matched your search

+2
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
+2
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