From owner-freebsd-questions Mon Apr 22 17: 6:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ebert.xypoint.com (ebert.xypoint.com [216.190.251.65]) by hub.freebsd.org (Postfix) with ESMTP id 0C5FA37B42A for ; Mon, 22 Apr 2002 17:06:28 -0700 (PDT) Received: by ebert.xypoint.com with Internet Mail Service (5.5.2655.55) id ; Mon, 22 Apr 2002 17:06:15 -0700 Message-ID: <38985D9205A0D411A10500508B10DE66029974E6@ebert.xypoint.com> From: Ryan Hill To: "'freebsd-questions@freebsd.org'" Subject: preferred method to start daemons Date: Mon, 22 Apr 2002 17:06:15 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG All, Need some quick clarification here on the 'preferred' (subjective, I know) method of starting local daemons at boot time, specifically, mysql and apache. Both manuals reference appending startup lines to rc.local, but the handbook mentions that rc.local has been deprecated in favor of rc.d and changes should be made in rc.conf but with the caveat that rc.conf should not be used to actually start the services. Soooo, I've got a bit of chicken vs. the egg problem here. I have a mysql.server script placed in rc.d, but I'm unsure where to call it in the startup process to actually start the server. I've also tried hacking together a startup script for apache, but it bombs horribly when I try to execute it manually for testing. Anyone care to help? Thanks, Ryan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message