diff options
Diffstat (limited to 'net/haproxy/files/haproxy.init')
-rw-r--r-- | net/haproxy/files/haproxy.init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/haproxy/files/haproxy.init b/net/haproxy/files/haproxy.init index 01d80d781..51c0ebb65 100644 --- a/net/haproxy/files/haproxy.init +++ b/net/haproxy/files/haproxy.init @@ -18,6 +18,10 @@ start_service() { procd_close_instance } +service_triggers() { + procd_add_raw_trigger acme.renew 5000 /etc/init.d/haproxy reload +} + extra_command "check" "Check haproxy config" check() { $HAPROXY_BIN -c -q -V -f $HAPROXY_CONFIG |