Discussion:
[Supervisor-users] multiple instances of the same process
Marcos Cano
2013-09-24 17:28:59 UTC
Permalink
hello i have a doubt i want to instantiate more than one java application,
but each of them may use different environment path variables, how can i
achieve this?

will the *environment *value do this?


im achieving this with startup scripts, so each of the java Servers needs
some environment variables related to its own folder lcoation.
"Djava.ext.dirs=$DIR/jlib" where DIR depends on what instance is being
executed.

suppose:

1st instance
/com/star/Server.java
echo $DIR -> /com/star/

2nd instance
/com/asteroid/Server.java
echo $DIR -> /com/asteroid/

Loading...