From 84fc383137269895b9c2cfcab105852e16964b5d Mon Sep 17 00:00:00 2001 From: waffle2k Date: Sat, 16 May 2026 21:42:09 -0700 Subject: [PATCH] docs(freebsd): capture stdout to /var/log/fingerd.log via daemon -o Without -o the daemon(8) wrapper redirects stdout to /dev/null, so the printf-based logging is invisible on BSD. --- FREEBSD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FREEBSD.md b/FREEBSD.md index 63b8ea6..056329b 100644 --- a/FREEBSD.md +++ b/FREEBSD.md @@ -51,7 +51,7 @@ Create `/usr/local/etc/rc.d/fingerd`: name="fingerd" rcvar="fingerd_enable" command="/usr/sbin/daemon" -command_args="-f -p /var/run/fingerd.pid /usr/local/bin/finger" +command_args="-f -p /var/run/fingerd.pid -o /var/log/fingerd.log /usr/local/bin/finger" pidfile="/var/run/fingerd.pid" # procname must be the full path so rc.subr can match it against ps output procname="/usr/local/bin/finger"