On 10/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >Real sorry about this. I should have fixed it months ago. The problem
> >is that the samba script calls our killproc() function, which
> >basically just finds any process named what we asked it and start
> >killing it. The problem is that you have multiple nmbd and smbd
> >processes.
>
> Dan, while you're at it, httpd also spawns children.

Thanks for the reminder. On my systems, I've added '-p $pidfile' to
all my scripts for all the *proc commands where the daemon generates a
pid file. pidofproc still does some stupid things that need fixing,
but in general I feel a lot safer saying "kill this particular pid"
instead of "killall somename". I need to start pushing some of these
into our scripts.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to