| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -eu |
| 4 |
|
| 5 |
# refs: #914477 |
| 6 |
sleep 15 |
| 7 |
|
| 8 |
echo "+ systemctl status rspamd" |
| 9 |
systemctl status rspamd |
| 10 |
echo "+ systemctl is-enabled rspamd" |
| 11 |
systemctl is-enabled rspamd |
| 12 |
echo "+ systemctl is-active rspamd" |
| 13 |
systemctl is-active rspamd |
| 14 |
|
| 15 |
# rspamd_url_init is compiling a lot of TLD suffixes on the first start. It |
| 16 |
# might take a long time and will delay the workers start. |
| 17 |
sleep 15 |
| 18 |
|
| 19 |
echo "+ curl --stderr - --no-progress-meter --retry 3 --retry-connrefused --retry-delay 2 http://127.0.0.1:11334" |
| 20 |
curl --stderr - --no-progress-meter --retry 3 --retry-connrefused --retry-delay 2 http://127.0.0.1:11334 |