15 Sep
2009
15 Sep
'09
1:05 p.m.
On Sep 14, 2009, at 11:48 PM, Mario Antonio wrote:
Thanks ! Just looking for a way to scripting the resetting of the auth-cache .. I noticed the dovecot-auth process does not have a PID file as the
Dovecot master has (or perhaps I missed it ...)
Right, it doesn't. Hmm. Wonder if there should .. Kind of annoying to
pollute multiple PIDs there.
In a debian machine (running Version 1.2.4) Could I just grab the pid number from the auth socket:
ls /var/run/dovecot/auth-worker* | sed 's/.*auth-worker\.//'
No, that's auth worker's PID and the auth cache is in the main dovecot- auth process.
I just do killall -HUP dovecot-auth :)