Introduce a new daemon_execdir variable for changing to a specified directory
authorajacoutot <ajacoutot@openbsd.org>
Thu, 26 May 2022 11:27:03 +0000 (11:27 +0000)
committerajacoutot <ajacoutot@openbsd.org>
Thu, 26 May 2022 11:27:03 +0000 (11:27 +0000)
commitae8581a2c565708fd6d33baac6af19f45abdff9c
tree6f92474497eaddbd6ad9faa841966d84fc3c5979
parent5cb7aebf4211294fd2891b0bc45c383ab7fd66af
Introduce a new daemon_execdir variable for changing to a specified directory
before running rc_rcexec.

Based on an proposal from openbsd.tech at aisha.cc
ok robert@ abieber@
etc/rc.d/amd
etc/rc.d/rc.subr
share/man/man8/rc.d.8
share/man/man8/rc.subr.8
usr.sbin/rcctl/rcctl.8
usr.sbin/rcctl/rcctl.sh