Hi, 

> That was the construct i tried to explain. A wrapper/pacifier whatever  
> is needed which does not terminate but does nothing until a "stop" or  
> some other event arrives.
> 
> > They should not start and stop the master directly.  Among other
> > things, that does not work with multi-instance support.
> 
> Agreed and understanded.

may I ask, why postfix should find a solution? I explain my question:
before I came here and started that thread, I took many hours of reading
about upstart and doing many local tests here to figure out how I could
get the job done. I also called strace start postfix and could see that
there is some kind of message communication. Yet I did not find out,
which destination receives upstart information. But at least I think,
there could be more applications out there that have issues like this
here. So wouldn't it make sense to ask upstart developers, if they can
extend their upstart interfaces?

Or if we really can find out, where upstart is comminicating to, maybe
extend postfix' capabilities to send information to this place.

Just thoughts and I only try to sort some ideas. If I am allowed to
summarize, from what I learned here these days:

Postfix does:
- have a really stable master process that did not die in more than 10
years (Victor)
- does not need a respawn feature

upstart does:
- start
- stop
- status
- restart
- what else?

start, stop and status use the pid that a process had after starting it.
So now I try to combine this:

Some piece of software, call it dispatcher, call it wrapper, whatever,
needs to call postfix start to not break any interfaces or anything else
postfix related. Right?

The wrapper that I showed here does this job. You can start and stop
postfix cleanly. If I understood right, simply testing a status of
postfix is not so easy, so Victor does the monitoring differently. So we
can not simply check the status and the result may be a bogus result.

This is, what I learned. So now my question: what do you have in mind
Wietse, if you say, you may provide something? Do not get me wrong
please. I really like to learn and even when you got me totally wrong at
the beginning of this thread, I never had something bad in mind. Just
coming here and trying to find a solution. Is that ok so far?

Is there anything that I can do to help?

Best wishes
Christian
-- 
Roessner-Network-Solutions
Bachelor of Science Informatik
Nahrungsberg 81, 35390 Gießen
F: +49 641 5879091, M: +49 176 93118939
USt-IdNr.: DE225643613
http://www.roessner-network-solutions.com

Reply via email to