mirror of
https://github.com/arnaucube/mirror-to-gitea.git
synced 2026-02-07 03:26:45 +01:00
initial commit
This commit is contained in:
14
docker-entrypoint.sh
Executable file
14
docker-entrypoint.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user