1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-29 17:51:30 +00:00
Files
mailcow-dockerized/data/Dockerfiles/rspamd/docker-entrypoint.sh
2017-03-03 22:50:04 +01:00

11 lines
200 B
Bash
Executable File

#!/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