From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D75FEE00B4C; Mon, 16 Jun 2014 02:33:37 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.3.1 X-Spam-HAM-Report: Received: from www.dynamicdevices.co.uk (www.dynamicdevices.co.uk [89.200.136.37]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 91EE0E00AEE for ; Mon, 16 Jun 2014 02:33:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by www.dynamicdevices.co.uk (Postfix) with ESMTP id 66E0F27E030; Mon, 16 Jun 2014 09:33:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at lennoab2.miniserver.com Received: from www.dynamicdevices.co.uk ([127.0.0.1]) by localhost (www.dynamicdevices.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KBb_oTM5v4kw; Mon, 16 Jun 2014 09:33:30 +0000 (UTC) Received: from [127.0.0.1] (cpc32-live22-2-0-cust59.17-2.cable.virginm.net [82.36.253.60]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by www.dynamicdevices.co.uk (Postfix) with ESMTPSA id 4740627E02A; Mon, 16 Jun 2014 09:33:30 +0000 (UTC) Message-ID: <539EB9E5.9040402@dynamicdevices.co.uk> Date: Mon, 16 Jun 2014 10:33:25 +0100 From: Alex J Lennon User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "Burton, Ross" References: <539D7379.5000907@dynamicdevices.co.uk> <539D74D7.8080809@dynamicdevices.co.uk> <539EB6DD.4000405@dynamicdevices.co.uk> In-Reply-To: X-Enigmail-Version: 1.6 Cc: Yocto Subject: Re: Autotools, Init Script templates and configure.ac X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2014 09:33:37 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16/06/2014 10:24, Burton, Ross wrote: > On 16 June 2014 10:20, Alex J Lennon wrote: >> OK. Thanks Ross. I don't suppose you can recommend a "golden initscript" >> somewhere on the interwebs that covers the all bases, including for LSB >> functions present / absent? >> >> It seems to me such a script might be a useful thing to have as a >> reference somewhere on the wiki. > Not off the top of my head, sorry. initscripts are pretty tricky to > write correctly... :/ there are helpers such as start-stop-daemon > that are useful but because there's no standard way to start a daemon, > whether it should write a PID or not, whether it forks or not, and so > on, there's no "canonical" example. > OK thanks anyway Ross. Good to know. Cheers, Alex