Date: Mon, 1 Nov 2004 21:36:17 +0100 From: DanGer <danger@wilbury.sk> To: "aaron" <riley6902@hotmail.com>, questions@freebsd.org Subject: Re: starting apche service on start up Message-ID: <1385574078.20041101213617@wilbury.sk> In-Reply-To: <BAY9-DAV27UASmy6tGp000100a7@hotmail.com> References: <BAY9-DAV27UASmy6tGp000100a7@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello aaron,
Monday, November 1, 2004, 9:15:25 PM, you wrote:
> Using FreeBSD 4.10 release and confused about what to do with the
> startup script in /usr/local/etc/rc.d/apache.sh when installing the
> port. The package on another machine works fine b/c it just has
> options to start and stop in /usr/local/etc/rc.d/apache.sh.
> The port however has a totally different file asking to:
> # Define these apache_* variables in one of these files:
> # /etc/rc.conf
> # /etc/rc.conf.local
> # /etc/rc.conf.d/apache
> #
> # DO NOT CHANGE THESE DEFAULT VALUES HERE
> apache_enable=${apache_enable-"NO"}
> apache_flags=$(apache_flags-""}
> apache_pidfile=${apache_pidfile-"/var/run/httpd.pid"}
> I do not have rc.conf. What's the preferred way of starting
> apache on boot. Why not just do it the same way as the package?
I really think, that you /etc/rc.conf have.
just type: echo "apache_eneble="YES" >> /etc/rc.conf
and then /usr/local/etc/rc.d/apache.sh start
this should works.
> Aaron
--
Best regards
+----------==/\/\==----------+ FreeBSD The
| DanGer <danger@wilbury.sk> | (__) Power
| DanGer@IRCnet ICQ261701668 | \\\'',) To
| http://danger.homeunix.org | \/ \ ^ Serve
+----------==\/\/==----------+ .\._/_)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1385574078.20041101213617>
