From owner-freebsd-rc@FreeBSD.ORG Wed Aug 31 12:44:00 2011 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A632106567A; Wed, 31 Aug 2011 12:44:00 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2AF358FC1F; Wed, 31 Aug 2011 12:44:00 +0000 (UTC) Received: by ywo32 with SMTP id 32so639276ywo.13 for ; Wed, 31 Aug 2011 05:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=bNraLfb623JzaE1hnFZobzbZSddzK0Vbe7pw4YgZZcw=; b=ZKuZ0MUiUk0ap4bWzzItdAQbt1bdY06enA76deA+N6YS7yiQV77qsFhhs/wApE7LLc u6Ez4VfRaeAFGlU8umj2LdM0Q6oX0zFsCC6YA8g0GEFJPa8XV2lrzgI+ASwHR82++jJL itEBUKPkfDFNwI7LOGnRDHwiZUxd22gbVU3Us= Received: by 10.43.50.129 with SMTP id ve1mr302529icb.440.1314794639430; Wed, 31 Aug 2011 05:43:59 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.61.148 with HTTP; Wed, 31 Aug 2011 05:43:29 -0700 (PDT) In-Reply-To: <4E5C348D.2050703@FreeBSD.org> References: <4E5C348D.2050703@FreeBSD.org> From: Chris Rees Date: Wed, 31 Aug 2011 13:43:29 +0100 X-Google-Sender-Auth: jHD90jtk6gOLbDN_kAWZ97rFhUE Message-ID: To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-rc@freebsd.org Subject: Re: RC script for rabbitmq X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2011 12:44:00 -0000 On 30 August 2011 01:53, Doug Barton wrote: > On 8/29/2011 7:13 AM, Chris Rees wrote: >> Hey all, >> >> Just hacked in pidfile support for rabbitmq into the rc script, and >> tidied it up a little. >> >> Please would someone kindly let me know if I'm doing anything horribly wrong? > > Not horribly, but you really need to read TPH section on rc.d scripts. :) > > Try the attached. That's great, thank you. Chris