Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 10:05:43 +0200
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        Maxim Sobolev <sobomax@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r366098 - head/usr.sbin/daemon
Message-ID:  <4ff940ab-502b-b144-6486-48c889bc3d0d@FreeBSD.org>
In-Reply-To: <202009240244.08O2ixw5023405@repo.freebsd.org>
References:  <202009240244.08O2ixw5023405@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ff940ab-502b-b144-6486-48c889bc3d0d>