how to specify pid file ? (for newsyslog)
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 Cheers, Ilya Shipitsin
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
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
participants (2)
-
Jan Maria Matejka -
Илья Шипицин