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

Reply via email to