1
0
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:
Cristian Rodríguez 2022-02-16 14:10:21 +00:00 committed by Giuseppe Lo Presti
parent f2f63697cf
commit f5010efbbf

View File

@ -5,6 +5,6 @@
missingok
rotate 380
postrotate
systemctl restart wopiserver
systemctl reload-or-try-restart wopiserver
endscript
}