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 1F6rfz-0005Mp-Rw for garchives@archives.gentoo.org; Wed, 08 Feb 2006 15:56:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k18Fsxh4032013; Wed, 8 Feb 2006 15:54:59 GMT Received: from hm-pop1.solinus.com (hm-pop1.solinus.com [66.18.18.33]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k18Fn1TF000539 for ; Wed, 8 Feb 2006 15:49:02 GMT X-Envelope-From: kmb@mikienet.com X-Envelope-To: gentoo-user@lists.gentoo.org Received: From c-68-33-229-113.hsd1.md.comcast.net (68.33.229.113) by hm-pop1.solinus.com (HOSTMAIL) for gentoo-user@lists.gentoo.org; Wed, 8 Feb 2006 15:49:11 -0000 (GMT) From: "K. Mike Bradley" To: Subject: RE: [gentoo-user] daemon start up problem Date: Wed, 8 Feb 2006 10:49:10 -0500 Message-ID: <000f01c62cc7$34673190$0300a8c0@samantha> 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 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYsxdPJbioZEQehTRqCRIWp5yuS2AAAOEAg In-Reply-To: <20060208153631.GA4855@nexon> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k18Fn1TF000539 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k18FsxhL032013 X-Archives-Salt: 3cfe93b1-45b0-48b4-8f4c-80614e116cc7 X-Archives-Hash: e0bffc290f452ae3624c6f325bcb0a69 I tried rc-update originally but got an error message which is why I manually made the link. I removed the webctrl link and rc-update as you detailed and it worked th= is time, but ... When I boot I get: Usage: /sbin/rc { start | stop} And the service is not running. Could this be a script error in the webservice.sh provided by the app vendor? Thanks for all your help. =20 -----Original Message----- From: Patrick B=F6rjesson [mailto:psycho@rift.ath.cx]=20 Sent: Wednesday, February 08, 2006 10:37 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] daemon start up problem On 2006-02-08 10:08, K. Mike Bradley uttered these thoughts: > Hello, > I am running latest Gentoo. > I want to start my app as a daemon. > This app has a script to do so. >=20 > webservice.sh >=20 > I copied this file to /etc/init.d/ >=20 > I made a link: >=20 > /etc/runlevels/default/webctrl ---> /etc/init.d/webservice.sh >=20 > If I start manually it's ok: >=20 > /etc/init.d/webservice.sh start >=20 > But when I re-boot I get: >=20 >=20 > *WARNING: /etc/init.d/webctrl missing ... Skipping [ok]=20 I would imagine that the init system of Gentoo expects the links in /etc/runlevels/... to have the same name as the script they link to. So to get proper behaviour:=20 ln -sf /etc/init.d/webservice.sh /etc/runlevels/default/webservice.sh (or "rc-update add webservice.sh default") Then remove /etc/runlevels/default/webctrl =20 That should fix it... --=20 / Patrick B=F6rjesson \ ------------------- / () The ASCII Ribbon Campaign - against HTML Email \ /\ and proprietary formats. --=20 gentoo-user@gentoo.org mailing list