mirror-to-gitea/docker-entrypoint.sh

15 lines
177 B
Bash
Raw Normal View History

2019-03-09 12:47:07 +00:00
#!/usr/bin/env sh
set -e
ONE_HOUR_DELAY=3600
while true
do
echo 'Starting to create mirrors'
node /app/src/index.js
echo 'Waiting...'
sleep "${ONE_HOUR_DELAY}"
done