Fix Rspamd Dockerfiles

This commit is contained in:
andryyy
2017-03-03 23:31:32 +01:00
parent 614da27c03
commit 66cbc479d7
2 changed files with 12 additions and 11 deletions
+10 -10
View File
@@ -1,10 +1,10 @@
#!/bin/bash
set -e
while true; do
SC=$(curl -s -o /dev/null -w "%{http_code}" http://nginx:8081/settings.php)
if [[ ${SC} == "200" ]]; then
sleep 3
exec "$@"
fi
sleep 3
done
#!/bin/bash
set -e
while true; do
SC=$(curl -s -o /dev/null -w "%{http_code}" http://nginx:8081/settings.php)
if [[ ${SC} == "200" ]]; then
sleep 3
exec "$@"
fi
sleep 3
done