Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Software suspend
Date: Thu, 11 Sep 2003 03:56:54
Message-Id: 200309102238.20079.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Software suspend by Georgi Georgiev
1 On Wednesday 10 September 2003 16:14, Georgi Georgiev wrote:
2 > On 10/09/2003 at 19:32:15(+0100), Gustavo Adolfo Silva Ribeiro Felisberto
3 used 1.4K just to say:
4 > > Is there a way to
5 > > know the status of a particular service witought having to do a
6 > > /etc/init.d/service status ?
7 >
8 > Currently, it seems you can check if there is a link in
9 > /var/lib/init.d/started/
10
11 do not write anything that relies on that fact and expect it to be included in
12 Gentoo ;)
13 you can run `/etc/init.d/service status` ... but if you just want it for
14 dependency information, just use the 'before after use' syntax in the
15 depend() function ... review any script in /etc/init.d, chances are they'll
16 have depend()
17 -mike