On 26 Sep 2017, at 11:53, Dianne Skoll wrote:
On Tue, 26 Sep 2017 09:38:18 -0400
"Bill Cole" <[email protected]> wrote:
bigsky:mimedefang-2.82 bill$ grep -A3 'stop)'
The stop_it function in init-script.in and the stop function in
redhat/mimedefang-init.in both wait for the daemons to exit.
I'm uneasy telling any author that they're wrong about their own code
but as far as I can tell, that is only conditionally true:
$ grep -C2 -n Waiting examples/init-script.in
redhat/mimedefang-init.in
examples/init-script.in-331-
examples/init-script.in-332- if [ "$1" = "wait" ] ; then
examples/init-script.in:333: printf "Waiting for daemons to
exit."
examples/init-script.in-334- WAITPID=""
examples/init-script.in-335- test -f $PID && WAITPID=`cat
$PID`
--
redhat/mimedefang-init.in-227-
redhat/mimedefang-init.in-228- if [ "$1" = "wait" ] ; then
redhat/mimedefang-init.in:229: printf "Waiting for daemons to
exit"
redhat/mimedefang-init.in-230- WAITPID=""
redhat/mimedefang-init.in-231- test -f /var/run/$prog.pid &&
WAITPID=`cat /var/run/$prog.pid`
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang