blob: bc2b733f9f394e1d33cbed1a2c5efb09f6fc03b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"
|