[Dovecot] doveadm stop
hello
I start dovecot via daemontools and use "dovecot -F". "doveadm stop" does correctly stop dovecot. Of course dovecot will restart not a second later.
Is it possible, that "doveadm stop" detect that dovecot is started with -F an print an informational log ? I think, it's helpfull, because in this special setup "doveadm stop" can and will not do what the the user expects from the name.
-- Andreas Schulze Internetdienste | P532
DATEV eG 90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196 E-Mail info @datev.de | Internet www.datev.de Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70 Vorstand Prof. Dieter Kempf (Vorsitzender) Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender) Dipl.-Kfm. Michael Leistenschneider Jörg Rabe v. Pappenheim Dipl.-Vw. Eckhard Schwarzer Vorsitzender des Aufsichtsrates: Reinhard Verholen
On Tue, 2010-07-06 at 14:09 +0200, Andreas Schulze wrote:
hello
I start dovecot via daemontools and use "dovecot -F". "doveadm stop" does correctly stop dovecot. Of course dovecot will restart not a second later.
Is it possible, that "doveadm stop" detect that dovecot is started with -F an print an informational log ?
I run dovecot -F all the time while testing. "dovecot stop" stops it..
I think, it's helpfull, because in this special setup "doveadm stop" can and will not do what the the user expects from the name.
Is there any way to stop Dovecot when it's running under daemontools? Like if Dovecot exited with some status code then daemontools would stop? Or could daemontools be told that if dovecot -F exits with 0, its stop was intentional and it shouldn't be restarted?
participants (2)
-
Andreas Schulze
-
Timo Sirainen