From owner-freebsd-questions@FreeBSD.ORG Fri Jun 1 04:05:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE39F16A468 for ; Fri, 1 Jun 2007 04:05:17 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id C30FE13C483 for ; Fri, 1 Jun 2007 04:05:17 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1HtyO5-0006IX-C4 for freebsd-questions@freebsd.org; Thu, 31 May 2007 21:05:17 -0700 Message-ID: <10906324.post@talk.nabble.com> Date: Thu, 31 May 2007 21:05:17 -0700 (PDT) From: gmoniey To: freebsd-questions@freebsd.org In-Reply-To: <20070601131230.380039e8@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gmoniey@gmail.com References: <10902043.post@talk.nabble.com> <20070601131230.380039e8@localhost> Subject: Re: startup / shutdown script (rc.d) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 04:05:17 -0000 Hi Noberto, I actually looked at the apache one, and it seemed so complicated, there were 2 files for it, one of which was relatively short and the other was significantly long. Now dont get me wrong, they aren't beyond comprehension, but i simply dont have the time right now to figure them out. I dont quite see how something as simple as "apachectl start" is expanded into so many lines. maybe i will get some time in the near future to understand it... Norberto Meijome-2 wrote: > > On Thu, 31 May 2007 14:06:45 -0700 (PDT) > gmoniey wrote: > >> I was wondering if there is a simple way to create 1 script that will be >> called during startup and shutdown. Basically, I am looking for something >> like this: > > the easiest way (for me) is to grab the rc script of anything that you > know > well (for example, apache) and modify it for your needs. anyway, at least > you > can learn from the one that is already made, without having to start from > scratch. > > B > > _________________________ > {Beto|Norberto|Numard} Meijome > > "People demand freedom of speech to make up for the freedom of thought > which > they avoid. " Soren Aabye Kierkegaard > > I speak for myself, not my employer. Contents may be hot. Slippery when > wet. > Reading disclaimers makes you go blind. Writing them is worse. You have > been > Warned. > _______________________________________________ > 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" > > -- View this message in context: http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10906324 Sent from the freebsd-questions mailing list archive at Nabble.com.