From a384e121cd2b33ecb94b4bc3e1600cc65e76db07 Mon Sep 17 00:00:00 2001 From: Yocum Date: Mon, 22 Jul 2019 14:56:57 -0400 Subject: [PATCH] Testing fix for redis cleanup script errors --- root/app/cleanup.sh | 2 +- root/app/dispatcher.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/root/app/cleanup.sh b/root/app/cleanup.sh index cf38e86..b94f6a6 100644 --- a/root/app/cleanup.sh +++ b/root/app/cleanup.sh @@ -14,4 +14,4 @@ sleep 3 echo "killing dangling workers..." /bin/bash /app/diskover/diskover-bot-launcher.sh -k > /dev/null 2>&1 -sleep 3 +sleep 3 \ No newline at end of file diff --git a/root/app/dispatcher.sh b/root/app/dispatcher.sh index a18aaa5..b7122c0 100644 --- a/root/app/dispatcher.sh +++ b/root/app/dispatcher.sh @@ -19,6 +19,7 @@ DISKOVER_ARRAY[DISKOVER_OPTS]="${DISKOVER_ARRAY[DISKOVER_OPTS]} -i ${DISKOVER_AR cd /app/diskover || exit #/bin/bash -c ". /config/.diskover_array; /app/cleanup.sh" +# Testing moving contents of /app/cleanup.sh here # killing existing workers before starting new ones echo "killing existing workers..." if [ -f "/tmp/diskover_bot_pids" ]; then