From owner-freebsd-doc@FreeBSD.ORG Thu Jan 24 18:43:56 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 20FEB456 for ; Thu, 24 Jan 2013 18:43:56 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id D9B66DBB for ; Thu, 24 Jan 2013 18:43:55 +0000 (UTC) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id E6ECA37B662; Thu, 24 Jan 2013 12:37:48 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3YsXDD1xZRzD0M; Thu, 24 Jan 2013 12:37:48 -0600 (CST) Date: Thu, 24 Jan 2013 12:37:48 -0600 From: "Matthew D. Fuller" To: Elias Chrysocheris Subject: Re: explicit use of /etc/rc.d vs service Message-ID: <20130124183748.GI67337@over-yonder.net> References: <201301241452.26474.elias_chr@otenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201301241452.26474.elias_chr@otenet.gr> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.21-fullermd.4 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 18:43:56 -0000 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.