1 # ==> /etc/logrotate.d/public-inbox <==
3 # See the logrotate(8) manpage for more information:
4 # http://linux.die.net/man/8/logrotate
5 /var/log/public-inbox/*.log {
14 # note the lack of the racy "copytruncate" option in this
15 # config. public-inbox-*d supports the USR1 signal and
16 # we send it as our "lastaction":
18 # systemd users do not need PID files,
19 # only signal the @1 process since the @2 is short-lived
20 # For systemd users, assuming you use two services
21 systemctl kill -s SIGUSR1 public-inbox-httpd@1.service
22 systemctl kill -s SIGUSR1 public-inbox-nntpd@1.service