killproc arguments

Nathan Coulson conathan at conet.dyndns.org
Fri Jul 23 12:18:04 PDT 2004


> Right now we need to pass an argument to killproc else it errors.  If
> PIDFILE is set, then there is no need, but optionally it could take a
> signal.  Looking at my proposed patch (below), it may be better to
> re-write the function completely and add a fallback variable ($2 and $3)
> sometime in the future.
>
> -- DJ Lucas

I committed this, but I may change it around some more.

there is a getpids $1 line, after it kills all the processes.  it will
then make sure it has been terminated.  How would we preform the same
check with the PIDFILE set?



More information about the lfs-dev mailing list