Date: Wed, 6 Nov 2002 18:03:49 +0100 (CET) From: Marc Schneiders <marc@schneiders.org> To: Brian Henning <b1henning@hotmail.com> Cc: <questions@FreeBSD.ORG> Subject: Re: icecast Message-ID: <20021106175840.O41694-100000@voo.doo.net> In-Reply-To: <OE20lIWKvKQUUEczzjk00010ecd@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 6 Nov 2002, at 10:53 [=GMT-0600], Brian Henning wrote: > hello- > i have icecast installed on my bsd box and it runs great. can someone tell > me how i can automatically start this program on boot? Put a tiny shell script in /usr/local/etc/rc.d e.g. #!/bin/sh /usr/local/bin/icecast & (Assuming that is where it is and how it's called.) Give it a name that ends in .sh, say ice.sh. Don't forget to set the file executable ("chmod 700 ice.sh"). This works for all programs. At boot the system checks for files ending in .sh in the the dir mentioned and runs them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021106175840.O41694-100000>