Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2011 19:33:06 +0100
From:      Damien Fleuriot <>
Subject:   Re: bug in rc.conf
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 11/29/11 7:02 PM, FreeLine wrote:
> I think status must check service in any case and I must not to setup
> <service>_enable="YES" in rc.conf.
> Because of people want to check something:
>   -- Are that service running or not? (He do not know that service was
> runned by /usr/local/etc/rc.d/service start or onestart. He just want
> to check)
> # /usr/local/etc/rc.d/quagga status
> Cannot 'status' zebra. Set quagga_enable to YES in /etc/rc.conf or use 
> 'onestatus' instead of 'status'.
> Cannot 'status' bgpd. Set quagga_enable to YES in /etc/rc.conf or use 
> 'onestatus' instead of 'status'.

It occurs to me that the answer to your problem (checking whether a
service runs regardless of it being enabled in /etc/rc.conf) is in your
original post.

Use onestatus instead of status:
/usr/local/etc/rc.d/nginx onestatus

Also, maybe you shouldn't be so quick to claim you've found a bug in
software used by literally tens of thousands of people and which seems
to work fine for them.
Such claims need to be backed up by strong evidence ;)

Want to link to this message? Use this URL: <>