[arch-dev-public] JAVA_HOME in systemd
Gaetan Bisson
bisson at archlinux.org
Wed Feb 6 07:58:13 EST 2013
[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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20130206/88597706/attachment.asc>
More information about the arch-dev-public
mailing list