From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5204 invoked by uid 1002); 11 Sep 2003 03:56:54 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 26106 invoked from network); 11 Sep 2003 03:56:54 -0000 From: Mike Frysinger Reply-To: vapier@gentoo.org To: gentoo-dev@gentoo.org Date: Wed, 10 Sep 2003 22:38:11 -0400 User-Agent: KMail/1.5.3 References: <20030910193215.66ab5dbf.humpback@felisberto.net> <20030910201411.GA17992%chutz@gg3.net> In-Reply-To: <20030910201411.GA17992%chutz@gg3.net> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_cA+X/gU8LxrUUC6"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200309102238.20079.vapier@gentoo.org> Subject: Re: [gentoo-dev] Software suspend X-Archives-Salt: 4b55df9a-fbc3-4214-aec1-9af2a05d0740 X-Archives-Hash: 0bc82c7cc4be36a09061e6d9188645f7 --Boundary-02=_cA+X/gU8LxrUUC6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Wednesday 10 September 2003 16:14, Georgi Georgiev wrote: > On 10/09/2003 at 19:32:15(+0100), Gustavo Adolfo Silva Ribeiro Felisberto= =20 used 1.4K just to say: > > Is there a way to > > know the status of a particular service witought having to do a > > /etc/init.d/service status ? > > Currently, it seems you can check if there is a link in > /var/lib/init.d/started/ do not write anything that relies on that fact and expect it to be included= in=20 Gentoo ;) you can run `/etc/init.d/service status` ... but if you just want it for=20 dependency information, just use the 'before after use' syntax in the=20 depend() function ... review any script in /etc/init.d, chances are they'll= =20 have depend() =2Dmike --Boundary-02=_cA+X/gU8LxrUUC6 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iQIVAwUAP1/gG0FjO5/oN/WBAQInbw//Wy+AZgJ2GQDpi7o+TLGQJsn8HySenZ8N e3Jr+YNQ//3OmvbJQYMfN6tFnMzU/RoX1I8cQmtGSbb8b7McogCXoCa7Gxppa3DP onhvIM9OyYY5dRxBWVhvlx//Grhn2tvpob+jjzS2+3y5HgcjDeryfXGUZYiMeGY6 f+lv4YZ71W+KKpOg42HDIrowo8Rc9rvdCLuxANbVQMzV+Rm0iFKmG2sHCkdpFv2a jbvg7CQDs9jz6LChE9Xbq4aotmWhFlPmWpULVHZcMQ/3h3kyfvRuFoRWj8E6Wvck +5r1HkZk9X9S9CUmz+6qrA0bIDZ1Wnd3MdiBQM5R8Yqdm1BsbsPZo0M4SICY0yi2 inU4M5zf81vjQgDHbQf0G8MtkgN5NSb1oYGoyeCgsg4tzmoBw0lxODNWs1od6nWJ C6kaqMbt6Fcj3FLpO3qZFRwNgb/i3QfClu7mtMO2tDqIoJftJmzNovgKOeDqSrv4 O5KPXxDgWextZNlEyyM2+MIIiPIXWtcZybV/7YpS9i3zfL83lJ1JOtPhVowJHCi5 EA/oTunjtf6soK+4Jsf/rv+BLKM6IrOwK1Ge8zqxuhVVqJvYDdZ0KuMXM1vLSGgr WeMwtt9Vmlo829+AcG5QmJ2aHBRuIdtew5BAi4a9gSx4HyItXWjQvN16O0VBbeWP oM+FFlkE0a8= =jxu+ -----END PGP SIGNATURE----- --Boundary-02=_cA+X/gU8LxrUUC6--