Re: supervise/svscan/and qmail logging

1999-11-03 Thread Stefan Paletta

Robert Wojciechowski Jr. wrote/schrieb/scribsit:
 My question is, do I have to start the two supervise processes (one for SVC,
 and one for SVC/log) with svscan, or can I do it manually?  I want to be
 able to restart the services, take down supervise for that service, etc
 without having to wait 1 minute for svscan to bring it back up.

svscan takes care of starting the two supervise processes and I don't
know how you would do this manually. Also, you don't normally restart
services by restarting its supervise and you don't have to take down
supervise to take down the service; instead, you use svc -t to restart
a service (supervise kills it and restarts it instantly) or svc -dt to
bring down the service. If e.g. you change the options to multilog,
you restart multilog with "svc -t theservice/log" without affecting
the service itself or losing log information.

The 1 minute delay only occurs when svscan has to restart a supervise,
which should _never_ happen.

 How can I do this without breaking the pipe between the service and the
 logger?

svscan takes care of maintaining the pipe. You just svc at will.

Stefan



supervise/svscan/and qmail logging

1999-11-02 Thread Robert Wojciechowski Jr.

Hello,

I am using the daemontools 0.61, and supervise on qmail, qmail-popup, and
qmail-smtpd.  Right now, I just start a normal supervise process to watch
over those.

I wanted to do logging for the qmail-popup and qmail-smtpd daemons, and
created an SVC/log dir, set the sticky bit, etc.  

My question is, do I have to start the two supervise processes (one for SVC,
and one for SVC/log) with svscan, or can I do it manually?  I want to be
able to restart the services, take down supervise for that service, etc
without having to wait 1 minute for svscan to bring it back up.

How can I do this without breaking the pipe between the service and the
logger?

Seems like a pain!

Robert S. Wojciechowski Jr.
[EMAIL PROTECTED]

PGP: 0xF2CA68F2 - http://www.wojo.com/pgpkeys/robertw.asc