Implement forced log file rotation upon SIGUSR2

This commit is contained in:
Steffen Nurpmeso
2022-01-20 14:34:51 +01:00
committed by Joachim Wiberg
parent 23a6d81ea2
commit 949e80f150
2 changed files with 82 additions and 43 deletions

View File

@ -483,6 +483,10 @@ SIGTERM.
.It USR1
In debug mode this switches debugging on/off. In normal operation
it is ignored.
.It USR2
.Nm
will rotate all files for which rotation is configured when receiving
this signal.
.El
.Pp
For convenience the PID is by default stored in