1
0
mirror of https://github.com/cs3org/wopiserver.git synced 2025-04-18 13:04:00 +03:00
wopiserver/wopiserver.logrotate
Cristian Rodríguez f5010efbbf logrotate: Use reload-or-try-restart instead.
using "restart" on logrotate files is never an appropiate action
as the service should only be restarted if it was actually running
before logrotate started.
2022-02-16 16:13:39 +01:00

11 lines
149 B
Plaintext

/var/log/wopi/wopiserver.log
{
compress
daily
missingok
rotate 380
postrotate
systemctl reload-or-try-restart wopiserver
endscript
}