Switch to using bash traps to destroy bhyve vms.
This commit is contained in:
@@ -16,9 +16,9 @@ load_rc_config $name
|
||||
: ${poudboot_enable:=YES}
|
||||
|
||||
command=/usr/sbin/daemon
|
||||
command_dendrite=poudboot
|
||||
pidfile=/var/run/${name}.pid
|
||||
|
||||
command_args="-P $pidfile -u root -f -S -T $name poudboot start"
|
||||
command_args="-p $pidfile -u root -f -S -T $name poudboot start"
|
||||
|
||||
export PATH="${PATH}:/usr/local/bin"
|
||||
run_rc_command "$1"
|
||||
|
||||
Reference in New Issue
Block a user