Wait for readiness.

Fixes #16.
This commit is contained in:
genofire 2020-10-23 19:28:36 +02:00
parent 7d811568e5
commit 8ea37c14df
4 changed files with 12 additions and 6 deletions

View File

@ -8,7 +8,7 @@
command: s6-svc -h /run/service/dovecot
- name: Restart Dovecot
command: s6-svc -wR -T 5000 /run/service/dovecot
command: s6-svc -wR -T 5000 -ru /run/service/dovecot
- name: Restart Dovecot log
command: s6-svc -wR -T 5000 /run/service/dovecot-log
command: s6-svc -wR -T 5000 -ru /run/service/dovecot-log

View File

@ -5,7 +5,10 @@
state: reloaded
- name: Restart HAProxy
command: s6-svc -t /run/service/haproxy
command: s6-svc -wU -T 5000 -ru /run/service/haproxy
- name: Restart HAProxy log
command: s6-svc -wU -T 5000 -ru /run/service/haproxy-log
- name: Reload HAProxy
command: s6-svc -2 /run/service/haproxy

View File

@ -5,7 +5,7 @@
state: reloaded
- name: Restart OpenNTPD
command: s6-svc -wR -T 5000 -t /run/service/openntpd
command: s6-svc -wR -T 5000 -ru /run/service/openntpd
- name: Restart OpenNTPD log
command: s6-svc -wR -T 5000 -t /run/service/openntpd-log
command: s6-svc -wR -T 5000 -ru /run/service/openntpd-log

View File

@ -5,7 +5,10 @@
state: reloaded
- name: Restart Postfix
command: s6-svc -t /run/service/postfix
command: s6-svc -wU -T 5000 -ru /run/service/postfix
- name: Restart Postfix log
command: s6-svc -wU -T 5000 -ru /run/service/postfix-log
- name: Reload Postfix
command: s6-svc -h /run/service/postfix