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};
|
||||
fi
|
||||
|
||||
systemctl daemon-reload
|
||||
|
||||
# disable auto upgrade
|
||||
systemctl disable --now unattended-upgrades
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user