From: Matthias Fischer Date: Wed, 30 Aug 2023 10:20:47 +0000 (+0200) Subject: monit: Ship fix for Bug #13246 on existing installations X-Git-Tag: v2.27-core180~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c5883c1341340c57360d6f17d9b8ec751f728bb;p=ipfire-2.x.git monit: Ship fix for Bug #13246 on existing installations Signed-off-by: Matthias Fischer Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/180/update.sh b/config/rootfiles/core/180/update.sh index 8a9d3bfd2b..664654f7c5 100644 --- a/config/rootfiles/core/180/update.sh +++ b/config/rootfiles/core/180/update.sh @@ -31,6 +31,11 @@ for (( i=1; i<=$core; i++ )); do rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire done +# Create missing '/etc/monit.d'-directory (Bug #13246) +if [ -f /usr/bin/monit ]; then + mkdir -p /etc/monit.d +fi + # Stop services # Extract files