From owner-freebsd-questions@FreeBSD.ORG Sun Jan 4 15:03:41 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 9E1A116A4CE for ; Sun, 4 Jan 2004 15:03:41 -0800 (PST) Received: from web14524.mail.yahoo.com (web14524.mail.yahoo.com [216.136.224.53]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B14743D1F for ; Sun, 4 Jan 2004 15:03:40 -0800 (PST) (envelope-from mickep3@yahoo.com) Message-ID: <20040104230340.93160.qmail@web14524.mail.yahoo.com> Received: from [68.165.64.113] by web14524.mail.yahoo.com via HTTP; Sun, 04 Jan 2004 15:03:40 PST Date: Sun, 4 Jan 2004 15:03:40 -0800 (PST) From: Micke P To: Marty Landman , freebsd-questions@freebsd.org In-Reply-To: <6.0.0.22.0.20040104142759.1111d578@pop.face2interface.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 23:03:41 -0000 Woohoo! I changed the permissions on my apache shell file and presto- apache now starts on rebooting! Thanks very very much all of you for your very good help. That's one less thing to be frazzled about. Micke --- Marty Landman wrote: > At 02:21 PM 1/4/2004, Micke P wrote: > > >I'm thinking primarily of starting apache and a > dynamic ip updater > >automatically at startup. > > Micke, here's a sample from my machine that may > help: > > # ls -alh /usr/local/etc/rc.d > total 20 > drwxr-xr-x 2 root wheel 512B Dec 30 16:58 . > drwxr-xr-x 9 root wheel 512B Dec 7 16:13 .. > -rwxr-x--- 1 root wheel 181B Dec 30 16:55 > 000.mysql-client.sh > -rwxr-xr-- 1 root wheel 144B Nov 12 16:18 > 001.landns.root.sh > -r-xr-xr-- 1 root pgsql 875B Nov 11 17:24 > 010.pgsql.sh > -rwxr-x--x 1 root wheel 407B Nov 12 19:33 > apache2.sh > -rwxr-xr-x 1 root wheel 3K Nov 14 21:12 > cups.sh.sample > -rwxr-x--- 1 root wheel 549B Dec 30 16:58 > mysql-server.sh > -r-xr-xr-x 1 root wheel 602B Nov 14 21:47 > samba.sh.sample > # cat /usr/local/etc/rc.d/apache2.sh > #!/bin/sh > PREFIX=/usr/local > > case "$1" in > start) > [ "ssl" = "ssl" -a -f > "$PREFIX/etc/apache2/ssl.crt/server.crt" ] > && SSL=ssl > [ -x ${PREFIX}/sbin/apachectl ] && > ${PREFIX}/sbin/apachectl > start${SSL} > /dev/null && echo -n ' apache2' > ;; > stop) > [ -r /var/run/httpd.pid ] && > ${PREFIX}/sbin/apachectl stop > > /dev/null && echo -n ' apache2' > ;; > *) > echo "Usage: `basename $0` {start|stop}" > >&2 > ;; > esac > > exit 0 > Swami: > > > > Marty Landman Face 2 Interface Inc 845-679-9387 > Sign On Required: Web membership software for your > site > Make a Website: > http://face2interface.com/Home/Demo.shtml > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree