diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2015-07-28 16:13:16 +0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-29 06:30:16 +0000 |
commit | 62e496a8556428148ee596bd01b5fa8ac1a45903 (patch) | |
tree | 6f8b54b8abc689f3680fed3ebc30634ee5f2eea1 /main/dovecot/dovecot.logrotate | |
parent | 4b68d50b717b4442c3f96702d2b5a235899a2826 (diff) | |
download | aports-62e496a8556428148ee596bd01b5fa8ac1a45903.tar.bz2 aports-62e496a8556428148ee596bd01b5fa8ac1a45903.tar.xz |
main/dovecot: Some cleanups in init & logrotate scripts
Diffstat (limited to 'main/dovecot/dovecot.logrotate')
-rw-r--r-- | main/dovecot/dovecot.logrotate | 5 |
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 } - |