15 lines
453 B
Plaintext
15 lines
453 B
Plaintext
dagger {
|
|
path = "/jail/${name}";
|
|
vnet;
|
|
vnet.interface += "dagger";
|
|
|
|
exec.prestart += "/usr/local/bin/jail_netgraph_bridge start cloak ${name} 192.168.1.0/24";
|
|
exec.poststop += "sleep 10; /usr/local/bin/jail_netgraph_bridge stop cloak ${name}";
|
|
|
|
mount.fstab = "/etc/fstab.${name}";
|
|
|
|
exec.start += "/bin/sh /etc/rc";
|
|
exec.stop = "/bin/sh /etc/rc.shutdown jail";
|
|
exec.consolelog = "/var/log/jail_${name}_console.log";
|
|
}
|