From 0f456d247b23674a3f5605943d4c474cfba06c3c Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Mon, 16 Nov 2015 08:49:52 +0100 Subject: [PATCH] trying to fix infinite loop of do_actions.sh by removing INCROND file --- src/inotify_do_actions.sh | 1 + src/inotify_update_domains.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/inotify_do_actions.sh b/src/inotify_do_actions.sh index ff6b17c3..6bc58592 100755 --- a/src/inotify_do_actions.sh +++ b/src/inotify_do_actions.sh @@ -11,4 +11,5 @@ if [ -e "$INOTIFY_DO_ACTION" ] ; then $LOGGER -t ALTERNC do_actions fi /usr/lib/alternc/do_actions.php + rm "$INOTIFY_DO_ACTION" fi diff --git a/src/inotify_update_domains.sh b/src/inotify_update_domains.sh index 631ffebe..27e44b31 100755 --- a/src/inotify_update_domains.sh +++ b/src/inotify_update_domains.sh @@ -8,7 +8,8 @@ LOGGER="/usr/bin/logger" if [ -e "$INOTIFY_UPDATE_DOMAIN" ] ; then if [ -x "$LOGGER" ] ; then - $LOGGER -t ALTERNC Panel manual launch update_domain + $LOGGER -t "ALTERNC Panel manual launch update_domain" fi /usr/lib/alternc/update_domains.sh + rm "$INOTIFY_UPDATE_DOMAIN" fi