Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2000 04:11:10 +0300
From:      "Ali Soylu" <alisoylu@yahoo.com>
To:        <freebsd-questions@freebsd.org>
Subject:   rc.d startup
Message-ID:  <NDBBKGNNKAMGGACJPDPOEEDFDAAA.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 Soylu


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?NDBBKGNNKAMGGACJPDPOEEDFDAAA.alisoylu>