summaryrefslogtreecommitdiffstats
path: root/net-mgmt/argus3/files/argus.in
blob: 8582909e28161d9cc2bbd7c56e6da4844b8a7cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# PROVIDE: argus
# REQUIRE: NETWORKING

. /etc/rc.subr

name="argus"
rcvar=argus_enable

load_rc_config $name

# Set defaults
: ${argus_enable="NO"}
: ${argus_procname="%%PREFIX%%/sbin/argus"}
: ${argus_flags="-F %%PREFIX%%/etc/argus.conf"}

required_files="${argus_config}"
command=$argus_procname
command_args="${argus_flags}"

run_rc_command "$1"
OpenPOWER on IntegriCloud