From 96b14bdcd4616b3a5ec3939bfdc85054cd00f683 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 21 Jan 2008 07:54:44 +0000 Subject: Update to 1.3.14. [1] Add a 'reload' subcommand to rc.d startup script. [2] Submitted by: p.rybicki cadera.com.pl [2] delphij [1] PR: ports/119755 [1] Approved by: maintainer --- net/haproxy-devel/files/haproxy.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net/haproxy-devel/files/haproxy.in') 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" -- cgit v1.2.3