mirror of
https://github.com/cs3org/wopiserver.git
synced 2025-04-18 13:04:00 +03:00
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.
11 lines
149 B
Plaintext
11 lines
149 B
Plaintext
/var/log/wopi/wopiserver.log
|
|
{
|
|
compress
|
|
daily
|
|
missingok
|
|
rotate 380
|
|
postrotate
|
|
systemctl reload-or-try-restart wopiserver
|
|
endscript
|
|
}
|