[Mimedefang] REVISED: postfix/mimedefang socket
Bill Cole
mdlist-20140424 at billmail.scconsult.com
Tue Sep 26 15:48:42 EDT 2017
On 26 Sep 2017, at 11:53, Dianne Skoll wrote:
> On Tue, 26 Sep 2017 09:38:18 -0400
> "Bill Cole" <mdlist-20140424 at billmail.scconsult.com> 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`
More information about the MIMEDefang
mailing list