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 1F6rSI-0002Z1-OM for garchives@archives.gentoo.org; Wed, 08 Feb 2006 15:42:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k18FeLpD031558; Wed, 8 Feb 2006 15:40:21 GMT Received: from nexon.borjesson.homedns.org (h249n9c1o1031.bredband.skanova.com [81.227.92.249]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k18FaHbr015654 for ; Wed, 8 Feb 2006 15:36:18 GMT Received: by nexon.borjesson.homedns.org (Postfix, from userid 1000) id 239A967CE1; Wed, 8 Feb 2006 16:36:32 +0100 (CET) Date: Wed, 8 Feb 2006 16:36:32 +0100 From: Patrick =?iso-8859-1?Q?B=F6rjesson?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] daemon start up problem Message-ID: <20060208153631.GA4855@nexon> References: <001301c62cc1$96c91a70$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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <001301c62cc1$96c91a70$0300a8c0@samantha> User-Agent: Mutt/1.5.11 X-Archives-Salt: 0b084fa7-9c5f-4d1c-b232-6f95c72edd79 X-Archives-Hash: d02c5ae520a2d67e15ac75dfc90c1cb8 --gKMricLos+KVdGMg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD6g//zbh2ByF5Kl0RAkVwAKCZJeBnk8VCAj0czXnPwPGEfk7qtwCdGDqH AdSJB0LXGR3Ol/GC4W7d8PE= =QaI9 -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- -- gentoo-user@gentoo.org mailing list