mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
Razorback is a framework for an intelligence driven security solution. It consists of a Dispatcher at the core of the system, surrounded by Nuggets of varying types. WWW: http://razorbacktm.sourceforge.net/ PR: ports/167738 Submitted by: Tom Judge <tom@tomjudge.com>
32 lines
582 B
Bash
32 lines
582 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: dispatcher_safed
|
|
# REQUIRE: dispatcher
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the ollowing lines to /etc/rc.conf to enable dispatcher_safed:
|
|
#
|
|
# dispatcher_safed_enable="YES"
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=dispatcher_safed
|
|
rcvar=dispatcher_safed_enable
|
|
|
|
load_rc_config $name
|
|
|
|
dispatcher_safed_enable=${dispatcher_safed_enable:-"NO"}
|
|
|
|
pidfile="/var/run/dispatcher_safed.pid"
|
|
command="%%PREFIX%%/bin/dispatcher_safed"
|
|
start_cmd=dispatcher_safed_start
|
|
procname="/bin/sh"
|
|
|
|
dispatcher_safed_start()
|
|
{
|
|
/usr/sbin/daemon -cf -p ${pidfile} ${command}
|
|
}
|
|
|
|
run_rc_command "$1"
|