From owner-freebsd-questions@FreeBSD.ORG Sun Jan 4 11:33:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B25C516A4CE for ; Sun, 4 Jan 2004 11:33:02 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5936B43D2F for ; Sun, 4 Jan 2004 11:33:01 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu162-234-100.nc.rr.com [24.162.234.100]) i04JWwov011183; Sun, 4 Jan 2004 14:32:59 -0500 (EST) Message-ID: <3FF86A6A.3010109@mindcore.net> Date: Sun, 04 Jan 2004 14:32:58 -0500 From: Scott W User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Micke P References: <20040104192156.86503.qmail@web14525.mail.yahoo.com> In-Reply-To: <20040104192156.86503.qmail@web14525.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: starting daemons at server start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 19:33:02 -0000 Micke P wrote: >Right! Ok, it's definitely not inetd that I need. I'm >thinking primarily of starting apache and a dynamic ip >updater automatically at startup. > >Micke > > >--- fbsd_user wrote: > > >>Maybe you just don't understand what you are seeing. >>Inetd is the >>Super server. Every thing you uncomment in the >>inetd.conf file is an >>server of it own right. But instead of an daemon >>running for telnet >>or FTP all the time. Inetd runs and listens on the >>ports where those >>services would be listings and when inetd sees an >>request on the >>specified port it automatically launches the server >>for that >>service. With inetd running , ps ax only shows inetd >>running, but >>start an telnet session to your box and you will see >>that inetd has >>spawned an telnet server session. When your telnet >>users leaves the >>session, the telnet server terminates. Inetd is used >>to conserve >>resources. >> >> If you installed apache from ports, there should already be a apache-dist.sh script in /usr/local/etc/rc.d . Copy it to apache.sh, chmod 600 (or at least make it executable), and apache should start at system reboot. Scott