Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2000 04:08:16 +0300
From:      "Ali Soylu" <alisoylu@yahoo.com>
To:        <freebsd-questions@freebsd.org>
Subject:   rc.d start-up
Message-ID:  <NDBBKGNNKAMGGACJPDPOCEHPCPAA.alisoylu@yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKGNNKAMGGACJPDPOCEHPCPAA.alisoylu>