blob: d6a9d444a1dccfe0e5e8869b8ca6e7cc7ebd0e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#
# $NetBSD: snort.sh,v 1.1 2003/03/04 01:02:26 salo Exp $
#
# PROVIDE: snort
# REQUIRE: DAEMON
. /etc/rc.subr
name="snort"
rcvar=$name
command="@PREFIX@/bin/${name}"
confdir="@PKG_SYSCONFDIR@"
required_files="$confdir/snort.conf $confdir/classification.config $confdir/reference.config"
command_args="-u @SNORT_USER@ -g @SNORT_GROUP@ -o -d -D -l /var/log/snort -c $confdir/snort.conf"
load_rc_config $name
run_rc_command "$1"
|