mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-08 13:17:12 +00:00
Rspamd: Wait for maps and settings
This commit is contained in:
1 parent
ef7a77ef47
commit
b656fedca6
2 files changed
+15
-3
No files matched your search
@@ -0,0 +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
|
||||
Reference in new issue
Block a user