aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/dovecot.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/dovecot/dovecot.logrotate')
-rw-r--r--main/dovecot/dovecot.logrotate5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/dovecot/dovecot.logrotate b/main/dovecot/dovecot.logrotate
index 7bd0003f7f..89255f8dd7 100644
--- a/main/dovecot/dovecot.logrotate
+++ b/main/dovecot/dovecot.logrotate
@@ -7,9 +7,6 @@
notifempty
sharedscripts
postrotate
- if /etc/init.d/dovecot -q status ; then \
- /etc/init.d/dovecot reload > /dev/null 2>&1 || true ; \
- fi;
+ /etc/init.d/dovecot --quiet --ifstarted reload
endscript
}
-