mirror of
https://github.com/cs3org/wopiserver.git
synced 2025-04-18 13:04:00 +03:00
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.
This commit is contained in:
parent
f2f63697cf
commit
f5010efbbf
@ -5,6 +5,6 @@
|
||||
missingok
|
||||
rotate 380
|
||||
postrotate
|
||||
systemctl restart wopiserver
|
||||
systemctl reload-or-try-restart wopiserver
|
||||
endscript
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user