Thanks for the comments and sorry for my stupidity.

To create the qmail init script, I just copied from another init script
on the redhat system. It uses a function "killproc" to kill the process
on "stop". This issues a "kill -9" when used without an argument
(rather than the expected default for "kill" which is "TERM").

I hadn't noticed previously, since I don't usually shut down qmail at
full activity.

Thus, normally TERM is sent to qmail-send, it waits and if TERM is
issued generally, qmail-remote will terminate and when all
qmail-remote/local are terminated qmail-send will exit. If one "kill
-TERM qmail-send" one may have to wait for qmail-remotes to finish, and
if one doesn't want to wait that long, one cam "killall -TERM
qmail-remote qmail-local" after the TERM to qmail-send.

[I use svc/supervise on other systems].

Thanks, David and others!


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)

Reply via email to