[2013-02-06 11:59:22 +0100] Thomas Bächler: > Am 06.02.2013 11:50, schrieb Guillaume ALAUX: > > Hence I was thinking about a common EnvironmentFile to hold this value > > once and for all. I know these EnvironmentFile _should_ be avoided but > > I think we are in a case where it could be tolerated. All Java service > > file could then just refer to it throught > > "EnvironmentFile=/the/path/to/this/file". > > This seems like the only way. Such a file would however make all java > runtimes conflict, unless you find a very clever way around it.
You can always have each Java runtime provide a different file, and
include all of them in each Java service file using
EnvironmentFile=-/path/to/java/runtime/number/one
EnvironmentFile=-/path/to/java/runtime/number/two
etc.
--
Gaetan
pgp394krGQLs3.pgp
Description: PGP signature

