how to specify pid file ? (for newsyslog)
Jan Maria Matejka
jan.matejka at nic.cz
Thu Feb 15 11:58:45 CET 2018
On 02/15/2018 06:56 AM, Илья Шипицин wrote:
> hi,
>
> on freebsd I need to specify pid file in order to send a signal to rotate log:
>
> /etc/newsyslog.conf:
>
> /var/log/bird.log 600 7 100 @0101T JC /var/run/bird.pid SIGHUP
> ...
>
>
> is there a way to write a pid to file ? I haven't found any
$ bird --help
Usage: bird [--version] [--help] [-c <config-file>] [OPTIONS]
Options:
...
-P <pid-file> Create a PID file with given filename
...
Maria
More information about the Bird-users
mailing list