This one time, at band camp, Carsten Leonhardt said:
> Thanks for the answer.
> 
> Stephen Gran <[EMAIL PROTECTED]> writes:
> 
> > Try this patch:
> 
> sed complained about it's usage, but this line works:
> 
> PID=`echo $PID | sed 's/[^0-9]//g'`

er, yes, sorry - that's what I was aiming for.  That's what I get for
writing sed from memory and not testing.

> But now I wonder why the pidfile contains a "-" in the first place?

Basically, it lets the init script kill the process group, instead of
just the process.  man kill for all the gory details.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to