diff options
Diffstat (limited to 'net/haproxy-devel/files/haproxy.in')
-rw-r--r-- | net/haproxy-devel/files/haproxy.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/haproxy-devel/files/haproxy.in b/net/haproxy-devel/files/haproxy.in index 244bddfbd7e1..6c5edebd00cb 100644 --- a/net/haproxy-devel/files/haproxy.in +++ b/net/haproxy-devel/files/haproxy.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: +# $FreeBSD$ # # PROVIDE: haproxy @@ -46,5 +46,7 @@ haproxy_gracefulstop() { kill -${sig_gracefulstop} ${rc_pid} } -extra_commands="gracefulstop" +reload_cmd="$command $haproxy_flags -sf $(cat $pidfile)" + +extra_commands="reload gracefulstop" run_rc_command "$1" |