From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F73xl-0004mc-6h for garchives@archives.gentoo.org; Thu, 09 Feb 2006 05:03:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1951o0P000091; Thu, 9 Feb 2006 05:01:50 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k194t68O025471 for ; Thu, 9 Feb 2006 04:55:07 GMT Received: by wproxy.gmail.com with SMTP id i28so29262wra for ; Wed, 08 Feb 2006 20:55:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=uZxaLnOt6EN4OMYJN7XmyuHceQGMwxX/ikEu21Un5Oa+iiBn0m36fo1c8pa1JooRqVe/AKKOkpQO4q4NZqJWJxSmGdkVpOT58dvEwJsjXETIzs4DZ1JhGV/YxpQ+BixhippOGGbEJGlMyUko00qxuOrazq4aB/wwfbsKtc/YkOQ= Received: by 10.54.69.12 with SMTP id r12mr2761803wra; Wed, 08 Feb 2006 20:55:05 -0800 (PST) Received: from ?192.168.0.2? ( [64.180.41.36]) by mx.gmail.com with ESMTP id 38sm176232wrl.2006.02.08.20.55.03; Wed, 08 Feb 2006 20:55:04 -0800 (PST) Message-ID: <43EACB0D.3020905@gmail.com> Date: Wed, 08 Feb 2006 20:54:37 -0800 From: Ryan Tandy User-Agent: Thunderbird 1.5 (Windows/20051201) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] daemon start up problem References: <001901c62cc9$5c78ff40$0300a8c0@samantha> In-Reply-To: <001901c62cc9$5c78ff40$0300a8c0@samantha> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 2b1ed4bc-bf34-4945-ab47-b93b48b88fea X-Archives-Hash: 74c0402dd3427d021b3d1aa316b0c17d K. Mike Bradley wrote: > Here is the script: > > >snip< You haven't read the documentation for Gentoo rc-scripts. This script was likely developed for a different distribution, for example Debian. Gentoo rc-scripts require, in addition to start() and stop(), a checkconfig() function that lets the rc services know what services this one requires. You'll need to either manually figure out the dependencies and add a checkconfig(), or simply add 'webservice.sh start &' to /etc/conf.d/local.start and 'webservice.sh stop &' to /etc/conf.d/local.stop as another poster recommended. To learn more about rc-scripts and their required functions, run '/etc/init.d/webservice.sh help' (or any service in /etc/init.d). Also, the script as provided seems to expect to be run from a certain CWD with your JRE relative to there. This is unlikely to work on Gentoo, especially given Gentoo's use of java-config to support different JREs. -- gentoo-user@gentoo.org mailing list