From owner-freebsd-questions Sun Aug 6 18:17: 2 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 BC4EA37BCBF for ; Sun, 6 Aug 2000 18:16:56 -0700 (PDT) (envelope-from alisoylu@yahoo.com) Received: from loner (UNKNOWN [212.174.111.20]) by venus2.ttnet.net.tr (Netscape Messaging Server 4.15) with SMTP id FYWB7H00.LDP for ; Mon, 7 Aug 2000 04:11:41 +0400 From: "Ali Soylu" To: Subject: rc.d start-up Date: Mon, 7 Aug 2000 04:08:16 +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) X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message