Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 12:37:48 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Elias Chrysocheris <elias_chr@otenet.gr>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: explicit use of /etc/rc.d vs service
Message-ID:  <20130124183748.GI67337@over-yonder.net>
In-Reply-To: <201301241452.26474.elias_chr@otenet.gr>
References:  <CAF6rxgnJPFevO7W%2BypBZdcL7deB%2B_cQHF0AEcVaWWv8FFhcNcQ@mail.gmail.com> <CAC8HS2Ewh391gbCQb2QFm8k3-uUUKp=5bibrmy4RAnNj93V1Ew@mail.gmail.com> <201301241452.26474.elias_chr@otenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 24, 2013 at 02:52:26PM +0200 I heard the voice of
Elias Chrysocheris, and lo! it spake thus:
>
> It returns an error. But when I /usr/local/etc/rc.d/apache22
> onerestart evrything works fine...

That could mean it's depending on something in your env variables,
which service will clear out (and so technically is a bug in your
setup, if your system script is depending on your user env...)


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130124183748.GI67337>