vboxheadless RC script

joe.k at bendtel.com joe.k at bendtel.com
Tue Jan 29 18:07:17 UTC 2013

It's really nice that the FreeBSD port for VirtualBox has a nice rc script for 
managing automatic startup and shutdown of VM's. 

It would be nicer though if it didn't rely on pid files though for keeping 
track of the vm states, as any stopping and starting a VM with the VBoxManage 
client will invalidate the pid. 

Would it be possible to add "update pid" function to the rc script, or if it 
finds an invalid pid, check the state of the the VM with "VBoxManage list 
runningvms" or "pgrep VBoxHeadless"?

Joe Kowalski

More information about the freebsd-emulation mailing list