steve crosby wrote:
> You should be able to write the pids used by the app to a file, and 
> pass that as an argument to killproc

And at that point, nmbd already puts its "main" (parent process) PID
into a file for you.  You can just kill this PID off, and I don't think
you have to do any more work.  Look in /var/run/{n,s}mbd.pid.

Perhaps the blfs-bootscripts samba script should be changed to give the
pidfile argument to killproc.  And while we're at it, it might make
sense to change the apache (and any other daemon that works this way)
script as well.  (Though with apache, it depends on which MPM you use --
if you use the prefork MPM (the default), this change may be needed, but
if not, then it probably doesn't matter.)

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to