## **************************************************************************
## For copyright and licensing terms, see the file named COPYING.
## **************************************************************************

[Unit]
Description=FreeBSD 9 jail %I

[Service]
Type=oneshot
RemainAfterExit=true
EnvironmentDirectory=env
ExecStartPre=jail ${conf:+-f "$conf"} -cm ${flags} ${interface:+interface="$interface"} ${root:+path="$root"} ${hostname:+host.hostname="$hostname"} ${ip4:+ip4.addr="$ip4"${alias_ip4:+,}"$alias_ip4"} ${ip6:+ip6.addr="$ip6"${alias_ip6:+,}"$alias_ip6"} ${mount_procfs:+mount.procfs} ${mount_devfs:+mount.devfs} ${mount_fdescfs:+mount.fdescfs} ${allow_mount:+allow.mount} ${allow_sysvipc:+allow.sysvipc} ${devfs_ruleset:+devfs_ruleset="${devfs_ruleset}"} ${parameters} persist name="%I"
ExecStopPost=jail ${conf:+-f "$conf"} -r "%I"

[Install]
WantedBy=jails.target
