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