[Linux-ha-dev] A question about SuSE

Volker Wiegand wiegand@suse.de
Tue, 19 Oct 1999 09:43:07 +0200 (MEST)


On Mon, 18 Oct 1999, Alan Robertson wrote:

> Hi,
> 
> I rely on running "resource-script-name status" to tell me if we own a
> resource.  He has observed that /etc/rc.d/init.d/apache status never returns
> "running"
> 
> What is SuSE supposed to do with the "status" requests to their scripts?
> 
An excerpt from /sbin/init.d/apache follows:

    status)
        echo -n "Checking for service httpd: "
        checkproc /usr/sbin/httpd && echo OK || echo No process
    ;;

Hope this helps.

Volker

--
Volker Wiegand               Phone: +49 (0) 6196 / 50951-24
SuSE Rhein/Main AG             Fax: +49 (0) 6196 / 40 96 07
Mergenthalerallee 45-47     Mobile: +49 (0) 179 / 292 66 76
D-65760 Eschborn            E-Mail:  Volker.Wiegand@suse.de
++ Only users lose drugs. Or was it the other way round? ++