From owner-freebsd-stable Thu Jun 6 20: 6: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from puke.reno.oemsupport.com (64-42-17-172.atgi.net [64.42.17.172]) by hub.freebsd.org (Postfix) with ESMTP id D6D3637B404 for ; Thu, 6 Jun 2002 20:06:01 -0700 (PDT) Received: by puke.reno.oemsupport.com with Internet Mail Service (5.5.2650.21) id ; Thu, 6 Jun 2002 20:05:56 -0700 Message-ID: <9B9CB6555E6BA049BC2B857E7711C24F3F4853@puke.reno.oemsupport.com> From: Patrick Calkins To: 'Larry Rosenman' , "Stable (stable@freebsd.org)" Subject: RE: OT: Passing kill a pid-file Date: Thu, 6 Jun 2002 20:05:52 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # -----Original Message----- # From: Larry Rosenman [mailto:ler@lerctr.org] # Sent: Thursday, June 06, 2002 7:57 PM # To: Patrick Calkins # Cc: Stable "(stable@freebsd.org) # Subject: Re: OT: Passing kill a pid-file # # # On Thu, 2002-06-06 at 21:55, Patrick Calkins wrote: # > Slightly (ok, extremely) off topic - I know its simple, but # I am going # > nuts finding it... how do I pass 'kill' a pid that lives in # a file?? I # > am writing a .sh script to shutdown one of my daemons, and # the pid is # > in a file... I keep thinking its something like kill -9 && cat # > '/bla/bla/my.pid' # # kill -9 `cat /bla/bla/my.pid` # # note that the quotes are back ticks. # # LER Ok, so now I feel really silly - can't believe I was that close to getting it... :o) Thanks much! # > # > Patrick # > OEMSupport.Com, Inc # > # > To Unsubscribe: send mail to majordomo@FreeBSD.org # > with "unsubscribe freebsd-stable" in the body of the message # > # -- # Larry Rosenman http://www.lerctr.org/~ler # Phone: +1 972-414-9812 E-Mail: ler@lerctr.org # US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message