svn commit: r366098 - head/usr.sbin/daemon
Mateusz Piotrowski
0mp at FreeBSD.org
Thu Sep 24 08:05:48 UTC 2020
Hi,
On 9/24/20 4:44 AM, Maxim Sobolev wrote:
> Author: sobomax
> Date: Thu Sep 24 02:44:58 2020
> New Revision: 366098
> URL: https://svnweb.freebsd.org/changeset/base/366098
>
> Log:
> dd a new option (-H) to daemon(8) to catch SIGHUP and re-open output_file file when
> received.
...
> Modified: head/usr.sbin/daemon/daemon.8
> ==============================================================================
> --- head/usr.sbin/daemon/daemon.8 Wed Sep 23 23:56:49 2020 (r366097)
> +++ head/usr.sbin/daemon/daemon.8 Thu Sep 24 02:44:58 2020 (r366098)
...
> @@ -68,6 +68,14 @@ or syslog output, the standard file descriptors are fi
> .Pa /dev/null ,
> then stdout and/or stderr is redirected to a file or to syslog as
> specified by the other options.
> +.It Fl H
> +Close
> +.Pa output_file
> +and re-open it when signal SIGHUP is received, for interoperability with
> +.Xr newsyslog 1
> +and similar log rotation / archival mechanisms. If
> +.Fa o
Fa should be Fl
Cheers,
Mateusz
More information about the svn-src-all
mailing list