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