Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 13:38:19 -0600
From:      Brian Hauber <bhauber@frenzy.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Apache autostart upon reboot
Message-ID:  <19981118133819.A6857@frenzy.com>
In-Reply-To: <Pine.BSF.4.01.9811181319050.3944-100000@atari.cmj.com>; from Aaron Clow on Wed, Nov 18, 1998 at 01:22:36PM -0500
References:  <Pine.BSF.4.01.9811181319050.3944-100000@atari.cmj.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981118133819.A6857>