Oops, sorry about that.
> Sorry but we can't view text/riched type of text
> properly. It is shown broken as in
> 79> Resend it in plain text if you please.
> On 03/27/02(01:09) you "Ken Godee"
> <firstname.lastname@example.org> wrote in
Here's the choices from Daemontools / Service
svc applies all the options to each service in turn. Here are the options:
-u: Up. If the service is not running, start it. If the service stops, restart it.
-d: Down. If the service is running, send it a TERM signal and then a CONT
signal. After it stops, do not restart it.
-o: Once. If the service is not running, start it. Do not restart it if it stops.
-p: Pause. Send the service a STOP signal.
-c: Continue. Send the service a CONT signal.
-h: Hangup. Send the service a HUP signal.
-a: Alarm. Send the service an ALRM signal.
-i: Interrupt. Send the service an INT signal.
-t: Terminate. Send the service a TERM signal.
-k: Kill. Send the service a KILL signal.
-x: Exit. supervise will exit as soon as the service is down. If you use this
option on a stable system, you're doing something wrong; supervise is designed to run forever.
options I've been using -u (up) and the -d
(down / TERM). Maybe I should try the -k (kill)
instead of the -d . Anyhow this is getting
beyond your software "Delegate" and I'll try to
play around alittle and if all else fails I
can do the para:1 option or maybe use a
SIGUSER1 option, I just saw a patch for
daemontools to add a control option -1 and -2
for SIGUSER1(2) options. Once again
Delegate is working really well in our firewall
setup and we appriecate your work.
> | |> |I have one problem with using DNS
> server/proxy. | |> |I'm using
> daemontools/supervise to make sure my | |>
> proxy's stay up. |When I start the DNS proxy it |
> |> "forks" off another |DNS process and if you
> stop | |> the first, the second process remains.
> |I guess I | |> don't under stand why it forks
> off a second | |> process? | |> | |> It is to
> share the load on the DNS-DeleGate | |> server,
> and you can control the parallelism by | |>
> DNSCONF=para:N parameter. If you don't need to |
> |> make it work in parallel, specify like this: |
> |> | |> DNSCONF=para:1 | |> | |> | |> |I don't
> want to leave these second processes | |>
> around. |Is there anything I can do? |I'm | |>
> starting the server as such..... | | |>
> |/sbin/delegate -f +=/etc/dns-proxy.conf | | |>
> |*dns-proxy.conf* |-Tx |-P192.168.1.1:53 | |>
> |SERVER=dns |PERMIT=dns:*:192.168.* | |>
> |RELIABLE=192.168.* |TIMEOUT=shutout:0 | |>
> |ADMIN="deld@perfect-image.." | | |The last |
> |> couple of lines of my dns-proxy log... | | |>
> |DNS_MINTTL=21600 |-- Fork(DNS): 1786 -> 1808 |
> | |> |If I stop the 1786 process, the 1808
> remains. | |> | |> How did you stopped the
> process? | |> If you terminated it by "kill
> SIGTERM" or | |> "delegated -Fkill -P53", all
> parallel processes | |> must be terminated as a
> whole. | |> | |> Cheers, | |> Yutaka | |> -- | |>
> @ @ Yutaka Sato <<email@example.com> | |>
> http://www.delegate.org/y.sato/ | |> ( - )
> National Institute of Advanced Industrial | |>
> Science and Technology (AIST) | |> _<< >_ 1-1-4
> Umezono, Tsukuba, Ibaraki, 305-8568 | |> Japan |
> |> | | | |<nofill> |The Perfect Image Graphics
> Co. |2429 W. 12th St. |Tempe, AZ 85281 |
The Perfect Image Graphics Co.
2429 W. 12th St.
Tempe, AZ 85281