CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/02/27 02:28:05
Modified files:
etc/rc.d : rc.subr
usr.sbin/rcctl : rcctl.sh rcctl.8
share/man/man8 : rc.d.8 rc.subr.8
Log message:
Add logger(1) support for daemons that are logging to stdout/stderr (mostly from
the go ecosystem).
Properly handle failing daemon startup now that we have pipefail.
To take advantage of this new feature, just add foo_logger=facility to the
daemon rc.d(8) script or in rc.conf.local(8) or use rcctl:
rcctl set foo logger daemon.info
tweak for checking flags in rcctl(8) from martijn@
"this looks pretty good" deraadt@
ok sthen@