From owner-freebsd-questions@FreeBSD.ORG Thu May 20 17:56:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5797316A4CE for ; Thu, 20 May 2004 17:56:44 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7283443D2F for ; Thu, 20 May 2004 17:56:43 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from thought.org (tao [10.0.0.247]) by sage.thought.org (8.12.8p2/8.12.8) with ESMTP id i4L0ugec003280 for ; Thu, 20 May 2004 17:56:43 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by thought.org (8.12.9p2/8.11.3) with ESMTP id i4L0ueJx014330 for ; Thu, 20 May 2004 17:56:41 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.9p2/8.12.11/Submit) id i4L0ueU9014329 for freebsd-questions@FreeBSD.ORG; Thu, 20 May 2004 17:56:40 -0700 (PDT) (envelope-from kline) Date: Thu, 20 May 2004 17:56:39 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20040521005639.GA14318@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.6i Subject: rev to /usr/local/etc/rc.d/apache.sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 00:56:44 -0000 Guys, It may just be me, but I stared at the *original* apache.sh script for 45 minutes before figuring out how it worked. apache was down here for more than a few hours. This is my rewrite:: # DO NOT CHANGE THESE DEFAULT VALUES HERE, # instead, define these apache_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # /etc/rc.conf.d/apache # # apache_enable="NO" # or "YES" to exec apachectl &c, &c. apache_flags="" apache_pidfile="/var/run/httpd.pid" -g -- Gary Kline kline@thought.org www.thought.org Public service Unix