Date: Sun, 4 Jan 2004 20:14:17 +0000 From: Jez Hancock <jez.hancock@munk.nu> To: Micke P <mickep3@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: starting daemons at server start Message-ID: <20040104201417.GB96817@users.munk.nu> In-Reply-To: <20040104192156.86503.qmail@web14525.mail.yahoo.com> References: <MIEPLLIBMLEEABPDBIEGOEBGFDAA.fbsd_user@a1poweruser.com> <20040104192156.86503.qmail@web14525.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 04, 2004 at 11:21:56AM -0800, 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. Have a look for one of the dyndns update applications in the ports tree (look in /usr/ports/dns/ especially - from experience ddclient worked well for me:P). After you install install the one you want, the port installation should place a script in /usr/local/etc/rc.d that will start the application when the machine boots. Note however that for scripts in /usr/local/etc/rc.d to run at boot time, they must: - be executable (ie have the executable bit set - use chmod to do this) - end in .sh (a lot of the time port installations will install scripts into /usr/local/etc/rc.d with the extension .sh.sample - you need to rename it to end in .sh before it will run on boot) For more info on all of the above read up on the section on ports in the freebsd handbook and the man pages for rc, ports, mv and chmod. Good luck :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/ - ipfw peruser traffic logging
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040104201417.GB96817>