Add sleep to shutting down jails.

This commit is contained in:
Tom Alexander
2024-07-07 18:09:15 -04:00
parent ab572079ac
commit f6152d92f1
14 changed files with 22 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ public_dns {
path = "/jail/${name}";
vnet;
exec.prestart += "/usr/local/bin/jail_netgraph_bridge start jail_nat jail${name} 10.215.1.1/24";
exec.poststop += "/usr/local/bin/jail_netgraph_bridge stop jail_nat jail${name}";
exec.poststop += "sleep 10; /usr/local/bin/jail_netgraph_bridge stop jail_nat jail${name}";
vnet.interface += "jail${name}";
devfs_ruleset = 14;