From owner-freebsd-questions Fri Aug 11 18:18:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from venus2.ttnet.net.tr (venus2.ttnet.net.tr [212.156.4.19]) by hub.freebsd.org (Postfix) with ESMTP id 12B5237BAB7 for ; Fri, 11 Aug 2000 18:18:24 -0700 (PDT) (envelope-from alisoylu@yahoo.com) Received: from loner ([212.174.111.53]) by venus2.ttnet.net.tr (Netscape Messaging Server 4.15) with SMTP id FZ5KOH00.UAL for ; Sat, 12 Aug 2000 04:14:41 +0400 From: "Ali Soylu" To: Subject: rc.d startup Date: Sat, 12 Aug 2000 04:11:10 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a program that I need to run at startup, so I added a startup script in /usr/local/etc/rc.d/ to start up the program. Here's the script: #!/bin/sh cd /usr/infochat/ /usr/local/jdk1.1.8/bin/java infostart & If I start this script from command line, the server starts up, but at boot time it does not start. I know that the script is executed at start up. And if I remove "&" it starts-up but stops the initialization process since it's not running in the background. What might be causing the problem here? Thanks in advance, Ali Soylu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message