diff options
author | Xin LI <delphij@FreeBSD.org> | 2008-01-21 07:54:44 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2008-01-21 07:54:44 +0000 |
commit | 96b14bdcd4616b3a5ec3939bfdc85054cd00f683 (patch) | |
tree | c160557c683ab1699f7e65ca41c309f7a54722d2 /net/haproxy-devel/files/haproxy.in | |
parent | Add support for installing different PHP versions in different PHPBASE. (diff) |
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
Notes
Notes:
svn path=/head/; revision=205957
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" |