From 6add7e4a4060ddb1f11b60fdf1ad41aa652c4619 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Wed, 16 Jun 2021 17:29:19 +0200 Subject: [PATCH] add exit 1 to inotify scripts, which goes around the serious incrond bug in Debian Buster... --- src/inotify_do_actions.sh | 2 ++ src/inotify_update_domains.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/inotify_do_actions.sh b/src/inotify_do_actions.sh index 6bc58592..e7eb1c5e 100755 --- a/src/inotify_do_actions.sh +++ b/src/inotify_do_actions.sh @@ -13,3 +13,5 @@ if [ -e "$INOTIFY_DO_ACTION" ] ; then /usr/lib/alternc/do_actions.php rm "$INOTIFY_DO_ACTION" fi + +exit 1 diff --git a/src/inotify_update_domains.sh b/src/inotify_update_domains.sh index 27e44b31..69efa4ba 100755 --- a/src/inotify_update_domains.sh +++ b/src/inotify_update_domains.sh @@ -13,3 +13,6 @@ if [ -e "$INOTIFY_UPDATE_DOMAIN" ] ; then /usr/lib/alternc/update_domains.sh rm "$INOTIFY_UPDATE_DOMAIN" fi + +exit 1 +