From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] monit: Ship fix for Bug #13246 on existing installations Date: Wed, 30 Aug 2023 12:20:47 +0200 Message-ID: <20230830102047.1602-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5910718625555974969==" List-Id: --===============5910718625555974969== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Matthias Fischer --- config/rootfiles/core/180/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/180/update.sh b/config/rootfiles/core/180/= update.sh index 8a9d3bfd2..664654f7c 100644 --- a/config/rootfiles/core/180/update.sh +++ b/config/rootfiles/core/180/update.sh @@ -31,6 +31,11 @@ for (( i=3D1; i<=3D$core; i++ )); do rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire done =20 +# Create missing '/etc/monit.d'-directory (Bug #13246) +if [ -f /usr/bin/monit ]; then + mkdir -p /etc/monit.d +fi + # Stop services =20 # Extract files --=20 2.34.1 --===============5910718625555974969==--