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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user