[Dovecot] send HUP when rotating log?
20 Sep
2010
20 Sep
'10
12:09 p.m.
Hi!
Is it necessary for Dovecot2 to send it a SIGHUP when I rotate its log files? I'm asking because then I must turn off the 'shutdown_clients' option, because then every user gets disconnected while rotating the logs.
Daniel
-- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
20 Sep
20 Sep
5:01 p.m.
On Mon, 2010-09-20 at 11:09 +0200, LEVAI Daniel wrote:
Is it necessary for Dovecot2 to send it a SIGHUP when I rotate its log files? I'm asking because then I must turn off the 'shutdown_clients' option, because then every user gets disconnected while rotating the logs.
You can rotate logs with SIGUSR1. Or with v2.0 you can do it in a pretty way with:
doveadm log reopen
5177
Age (days ago)
5177
Last active (days ago)
1 comments
2 participants
participants (2)
-
LEVAI Daniel
-
Timo Sirainen