From e6a9eeabedb4e5c913b3706adde9892ee82fa299 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 13 Feb 2017 23:25:01 +0000 Subject: [PATCH] ok, try 30 and if that does not work will have to figure something better out --- .../mirrorlist_proxy/files/restart-mirrorlist-containers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers b/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers index 5952242662..ec9fe3dcf4 100644 --- a/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers +++ b/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers @@ -25,7 +25,7 @@ fi systemctl start mirrorlist2 echo "enable server mirror-lists/mirrorlist-local2" | nc -U /var/run/haproxy-admin >& /dev/null -sleep 25 +sleep 30 curl -q -H mirrors.fedoraproject.org "http://localhost:18082/metalink?repo=rawhide&arch=x86_64" -o/dev/null -s -f if [ $? != 0 ]; then echo "ERROR: mirrorlist2 did not start correctly" @@ -41,7 +41,7 @@ systemctl restart mirrorlist1 sleep 1 echo "enable server mirror-lists/mirrorlist-local1" | nc -U /var/run/haproxy-admin >& /dev/null -sleep 25 +sleep 30 curl -q -H mirrors.fedoraproject.org "http://localhost:18081/metalink?repo=rawhide&arch=x86_64" -o/dev/null -s -f if [ $? != 0 ]; then echo "ERROR: mirrorlist1 did not restart correctly"