1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-02-21 11:48:48 +00:00

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

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