blob: 27af21093cdebbd8da21b7ac8c4c6eb94b3045fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
# $Id$
#
# $FreeBSD$
#
# PROVIDE: jaildaemon
# REQUIRE: cleanvar
# BEFORE: ezjail
# KEYWORD: nojail shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable jaildaemon
#
#jaildaemon_enable="YES"
. /etc/rc.subr
name="jaildaemon"
rcvar="jaildaemon_enable"
pidfile="/var/run/${name}.pid"
command="/usr/local/bin/${name}"
jaildaemon_flags="-D -p ${pidfile}"
: ${jaildaemon_enable:=no}
load_rc_config $name
run_rc_command "$1"
|