diff options
Diffstat (limited to 'net/haproxy/files/haproxy.sh')
-rw-r--r-- | net/haproxy/files/haproxy.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/haproxy/files/haproxy.sh b/net/haproxy/files/haproxy.sh new file mode 100644 index 00000000000..bc2b733f9f3 --- /dev/null +++ b/net/haproxy/files/haproxy.sh @@ -0,0 +1,19 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: haproxy.sh,v 1.1.1.1 2011/10/31 23:34:07 morr Exp $ +# + +# PROVIDE: haproxy +# REQUIRE: network + +$_rc_subr_loaded . /etc/rc.subr + +name="haproxy" +rcvar=$name +command="/usr/pkg/sbin/${name}" +conf_file="/usr/pkg/etc/${name}.cfg" +required_files="${conf_file}" +command_args="-f $conf_file" + +load_rc_config $name +run_rc_command "$1" |