From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MbOxB-0007zu-GM for garchives@archives.gentoo.org; Thu, 13 Aug 2009 01:18:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD6CBE0558; Thu, 13 Aug 2009 01:18:03 +0000 (UTC) Received: from aplus.dartworks.biz (aplus.dartworks.biz [206.225.82.180]) by pigeon.gentoo.org (Postfix) with ESMTP id B75B9E0558 for ; Thu, 13 Aug 2009 01:18:03 +0000 (UTC) Received: from dartworks.biz (173-8-128-221-SFBA.hfc.comcastbusiness.net [::ffff:173.8.128.221]) (AUTH: CRAM-MD5 mercury) by aplus.dartworks.biz with esmtp; Wed, 12 Aug 2009 18:18:03 -0700 id 00410003.4A8369CB.00004EE2 Date: Wed, 12 Aug 2009 18:18:02 -0700 From: Keith Dart To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Starting a daemon automatically without rc-update Message-ID: <20090812181802.40f00b33@dartworks.biz> In-Reply-To: <20090812230258.4f31b6b9@zaphod.digimed.co.uk> References: <49bf44f10908121440o3764f861r6dfddcc4c4ce91c@mail.gmail.com> <20090812230258.4f31b6b9@zaphod.digimed.co.uk> Organization: Dartworks X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: d60c1582-ea5b-4f05-9175-3fd146647b2d X-Archives-Hash: f4724693a9b2899de31bcb631fcb4399 === On Wed, 08/12, Neil Bothwick wrote: === > start() { > su - user -c /path/to/program/binary > } === That works as long as the binary forks and runs as a daemon. If not, you will probably have to use the start-stop-daemon helper program. -- Keith Dart -- -- -------------------- Keith Dart =======================