From 12fb46302a3d261c9cb3d313651bd583dd67629c Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Sat, 12 Oct 2024 16:06:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20deb=E5=AE=89=E8=A3=85=E5=89=8Dsystemctl?= =?UTF-8?q?=20enable=E5=89=8Dreload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debbuild/22.04/DEBIAN/postinst | 2 ++ debbuild/DEBIAN/postinst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 06f83f0..4ee4bd1 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -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 diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index c67e466..68f404f 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -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