From owner-freebsd-questions Mon Jan 17 16:40:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from topsecret.net (gill.apk.net [207.54.148.62]) by hub.freebsd.org (Postfix) with SMTP id 0FD1115054 for ; Mon, 17 Jan 2000 16:40:18 -0800 (PST) (envelope-from gill@topsecret.net) Received: from pacific.int.topsecret.net by topsecret.net with SMTP (MDaemon.v2.7.SP5.R) for ; Mon, 17 Jan 2000 19:37:51 -0500 Date: Mon, 17 Jan 2000 19:40:17 -0500 (EST) From: James Gill X-Sender: gill@pacific.int.topsecret.net To: freebsd-questions@freebsd.org Subject: apachectl and the -f switch Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-Return-Path: gill@topsecret.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I can start apache with no problems by running /usr/local/sbin/apache -f /path/to/my/apache.conf by hand or in rc.local but since the newest fad is to utilize this rc.d business, i find there is already an apache.sh there: #!/bin/sh [ -d /usr/local/pgsql/lib ] && /sbin/ldconfig -m /usr/local/pgsql/lib [ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start # > /dev/null && echo -n ' apache' Now I can't figure out how to pass a -f paramater to apachectl to tell the little bugger which .conf file to readin. What is suggested here? edit apache.sh to start '/usr/local/sbin/apache -f...' or skip the whole .../rc.d/apache.sh idea altogether? What is that /usr/local/pgsql/lib starting up with it? I am assuming it is some part of apache/php3 that wants (needs?) to wake up with apache? TIA, --gill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message