thanks!

2018-02-15 15:58 GMT+05:00 Jan Maria Matejka <jan.matejka@nic.cz>:
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