summaryrefslogtreecommitdiff
path: root/etc/rc.d/vmd
AgeCommit message (Collapse)Author
2022-08-29Use rc_configtest.Antoine Jacoutot
2022-05-21${rcexec} -> rc_execAntoine Jacoutot
2019-01-21Use ${rcexec} in rc_pre to do the config testing. This allows to specifyClaudio Jeker
macros with spaces in them. With and OK ajacoutot
2018-09-27Add vmctl stop -a [-fw] option to stop or terminate all running VMs.Reyk Floeter
This is also be used to simplify the vmd rc stop script. OK mlarkin@ ccardenas@
2018-07-11Add -w option to vmctl stop to wait for completion of VM termination.Reyk Floeter
Use it in /etc/rc.d/vmd accordingly. OK sthen@
2018-02-20Call "vmctl stop" on each VM at shutdown, for OpenBSD guests this means theyStuart Henderson
are signalled to shutdown cleanly. Wait for each to finish to avoid too much busy work at once; this may need revising if it turns out to be too slow with a larger number of VMs (e.g. signal/delay/signal/delay/... then wait for shutdowns), but let's avoid making it more complex unless we know it's needed. Based on a diff from abieber@, discussed with mlarkin@ aja@ rpe@, ok rpe
2018-01-11CommentsRobert Peichaer
2018-01-11Change the shebang line from /bin/sh to /bin/ksh in all base rc.dRobert Peichaer
daemon scripts. discussed with and OK aja@ OK tb
2016-02-02Remove setproctitle() for the parent process. Because rc.d(8) uses processStuart Henderson
titles (including flags) to distinguish between daemons, this makes it possible to manage multiple copies of a daemon using the normal infrastructure by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@
2015-12-19Child will not return a config parsing error to the parent so rc.d will lie andAntoine Jacoutot
tell you that the daemon succesfully started; prevent this by running a config check first. Note that we only do this for those particular daemons, not all that support a config test mode. ok benno@ phessler@
2015-12-16Add pexp match otherwise rcctl stop vmd doesn't work. OK deraadt@James Turner
2015-12-05add rcscript for vmdJasper Lievisse Adriaanse
ok mlarkin@ prompted by deraadt@