David F. Skoll wrote:

Oops, sorry! I adapted it from something we use with CanIt, and forgot that the mimedefang init script doesn't have a status.

Anyway, if you know shell programming, you should be able to detect if
mimedefang is running by checking the return status of:

           kill -0 `cat /var/spool/MIMEDefang/mimedefang.pid`

and similarly for the multiplexor.

I'll leave it as an exercise for the reader. :-)


This is why I had you add the "foreground" flag to progs as AIX's resource controller will do exactly all that... so no user "tracking" is required.. just startsrc -s mimedefang and stopsrc -s mimedefang.


You all just need to switch to AIX... That would solve all your problems!

(har har)

 -Ben
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to