You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
docker-ubuntumirror/mirror.run

13 lines
221 B

#!/bin/bash
# HOME isn't set up for some reason
export HOME=/root
# cleanup previous runs
rm -rf /var/mirror/ubuntu/.temp
while sleep 1 ; do
cd /opt/mirror && make
sleep ${MIRROR_UPDATE_INTERVAL_SECONDS}
done