Hello:

I have a number of supervised processes that are started by svscan. A couple
of them have a 'log' subdirectory and a corresponding supervise process for
that running multilog.

I'm wondering if there's an elegant way to stop these processes during
a system shutdown. The best that I've thought of is something like:

for sname in `find /service -name supervise`; do
        svc -d `dirname $sname`
done

But this returns right away without waiting for the processes to gracefully
shut down. Any suggestions?

-- 
Marcus Reid
Blazingdot.com

Reply via email to