how to specify pid file ? (for newsyslog)

Илья Шипицин chipitsine at gmail.com
Thu Feb 15 12:43:02 CET 2018


thanks!

2018-02-15 15:58 GMT+05:00 Jan Maria Matejka <jan.matejka at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180215/85ed5a91/attachment.html>


More information about the Bird-users mailing list