Testing fix for redis cleanup script errors

This commit is contained in:
Yocum 2019-07-22 14:56:57 -04:00 committed by Ryan Kuba
parent edc20048a3
commit a384e121cd
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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