Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 14:38:46 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        freebsd-questions@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re[2]: Help! Stupid Newbie Question
Message-ID:  <6.2.3.4.2.20050924142004.04036cb0@cobalt.antimatter.net>
In-Reply-To: <20050924165741.44B2.GERARD@seibercom.net>
References:  <4564bbf205092413161cb86d75@mail.gmail.com> <6.2.3.4.2.20050924132414.064d4bd0@cobalt.antimatter.net> <20050924165741.44B2.GERARD@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:05 PM 9/24/2005, Gerard Seibert wrote:
>On Sat, 24 Sep 2005 13:30:43 -0700, Glenn Dawson <glenn@antimatter.net>
>Subject: Re: Help! Stupid Newbie Question
>Wrote these words of wisdom:
>
> >
> > If the port you installed was relatively recent, you just need
> > mysql_enable=3D"YES" in your rc.conf.
> >
> > If it's an older port, look for a sample startup script in
> > /usr/local/etc/rc.d.  You just need to rename it so that it ends in
> > .sh and it will start at boot time.
> >
> > -Glenn
>
>
>***** REPLY SEPARATOR *****
>On 9/24/2005 4:57:41 PM, Gerard Seibert Replied:
>
>When I first started using FreeBSD, I had the same problems. It would be
>nice if the author of the man pages included the start up information as
>well as the location of any config files as the first entry in the page.
>I have even installed programs where the startup scripts were commented
>out, for example: cups.sh-sample, and I went looking for why the program
>was not starting before it dawned on me what the problem was.

I think the primary reason for not having a port=20
automatically start after it's installed would be=20
security.  There are a number of things that=20
might present a security risk if they are enabled=20
with their default configurations, or no=20
configuration at all.  I don't believe I've ever=20
seen a port install itself so that it starts at boot time.

Section 4.6 in the handbook has this:

Ports that should start at boot (such as Internet=20
servers) will usually install a sample script in=20
/usr/local/etc/rc.d. You should review this=20
script for correctness and edit or rename it if=20
needed. See=20
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-star=
ting-services.html>Starting=20
Services for more information.

>  I realize
>that someone with years of experience would not have had that sort of
>problem, but for a new user, it is all to common. We are always getting
>requests for how do I start foo, or what have you on this list.

There are a great many people that post to the=20
list with questions that are readily available in=20
the handbook, or some other part of the web=20
site.  I don't think that's likely to change any time soon.

-Glenn


>That is just my 2=C2=A2 worth of unasked for opinion.
>
>
>--
>Gerard Seibert
>gerard@seibercom.net
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to=
 "freebsd-questions-unsubscribe@freebsd.org"




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