Skip to content

Commit

Permalink
disable endless loop
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Feb 12, 2024
1 parent fc8cc99 commit f689c7e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
#!/usr/bin/env sh

set -e

# Get custom delay, else use 3600 seconds
DELAY="${DELAY:-3600}"

while true
do
echo "Starting to create mirrors..."
node /app/src/index.js
echo "Starting to create mirrors..."
node /app/src/index.js

echo "Waiting for ${DELAY} seconds..."
sleep "${DELAY}"
done

0 comments on commit f689c7e

Please sign in to comment.