From owner-freebsd-questions Wed Nov 18 11:38:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25738 for freebsd-questions-outgoing; Wed, 18 Nov 1998 11:38:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from feeding.frenzy.com (feeding.frenzy.com [209.198.128.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA25733 for ; Wed, 18 Nov 1998 11:38:47 -0800 (PST) (envelope-from bhauber@feeding.frenzy.com) Received: (from bhauber@localhost) by feeding.frenzy.com (8.8.8/8.8.7) id NAA06882 for freebsd-questions@FreeBSD.ORG; Wed, 18 Nov 1998 13:38:20 -0600 (CST) Message-ID: <19981118133819.A6857@frenzy.com> Date: Wed, 18 Nov 1998 13:38:19 -0600 From: Brian Hauber To: freebsd-questions@FreeBSD.ORG Subject: Re: Apache autostart upon reboot Reply-To: bhauber@pobox.com Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Aaron Clow on Wed, Nov 18, 1998 at 01:22:36PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 18, 1998 at 01:22:36PM -0500, Aaron Clow wrote: > After an uptime of 52 days on my new FreeBSD/Apache server, my office > power went out and the machine rebooted. It's not mission-critical (just a > 486/25 sitting headless under my desk, running a personal website), so I > don't have a UPS on it. I would, however, like Apache to be restarted if > the machine reboots itself. Is there an initscript in FreeBSD that takes > care of this? If so, anyone know where it is and what I need to change to > activate the auto-start of apachectl? You can edit /etc/rc.local and put the statement you want at the end. HTH, Brian -- Brian Hauber | http://www.pobox.com/~bhauber | bhauber@pobox.com PGP fingerprint = 0C 9B 2B 4F F8 68 12 81 DC 0A 13 43 FF 50 D0 1F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message