Re: Running an application from a different directory
Joseph Shraibman <[email protected]>
| Newsgroups | gmane.comp.java.linux.general |
|---|---|
| Message-ID | <[email protected]> |
Jaume Obrador wrote: > What finally I want to do is to run a java process as a daemon and I > must be able to run it from /etc/init.d/ > Inside the script just change to the proper directory (or set the CLASSPATH variable). Changes to the environment made by a script are lost when the script ends, so you don't have to worry about screwing up the current directory or environment variables. ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]