From owner-freebsd-questions Wed Nov 6 10:10:31 2002 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 8B1C137B404 for ; Wed, 6 Nov 2002 10:10:28 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01DD543E6E for ; Wed, 6 Nov 2002 10:10:28 -0800 (PST) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.226.35] by mail.gbronline.com (SMTPD32-7.13) id AA9C2B2E0096; Wed, 06 Nov 2002 12:08:28 -0600 Message-ID: <022e01c285bf$aea40df0$fa00a8c0@DaleCoportable> From: "DaleCo Help Desk" To: "Brian Henning" , References: Subject: Re: icecast Date: Wed, 6 Nov 2002 12:09:41 -0600 Organization: DaleCo, S.P.---"the solutions people" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Brian Henning" To: Sent: Wednesday, November 06, 2002 10:53 AM Subject: icecast > 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? > > thanks, > b > Didn't you just ask this? One fellow offered a shell script. It's true that another guy thought that wouldn't be a good idea. Did they forget to cc: you? It doesn't appear so...... If you think a shell script is not the thing for the reasons mentioned, you might use crontab....depending on what user icecast needs to be run as, put the following into their crontab.... @reboot /path/to/icecast -flag(s) argument(s) If icecast has an apache-style APACI program, you might call it at shutdown to kill the daemon..... @shutdown command Use 'crontab -e' to edit your/the crontab.... HTH, Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message