[Supervisor-users] Custom classpath for java?
Tres Seaver
tseaver at palladion.com
Mon Oct 19 10:15:16 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Phillip Oldham wrote:
> Is it possible to pass in a custom class-path for java programs when
> defining the program in a supervisord.conf file, other than doing `java
> -cp ...`?
>
> Currently I'm starting a java server via the commandline and a short
> bash script and using monit to bring it back up, but occasionally its
> causing problems and not restarting correctly (usually if the server is
> rebooted).
You can set keys into the child process' environment, as documented here:
http://supervisord.org/manual/current/configuration.html#programx
(Side note: the 'To:' address on your message was messed up).
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrcdHMACgkQ+gerLs4ltQ6vmACglybMx2RTfBhDYLEtkJtlTRAe
VeYAn2a0g6xs3pDJIXg3PJzmNGTFvpNC
=ivuZ
-----END PGP SIGNATURE-----
More information about the Supervisor-users
mailing list