nixos/subsonic: use jre8
The latest version of Subsonic (6.1.6) does not suport Java SE 9 or later because it depends on the JAXB APIs. Those are considered to be Java EE APIs are no longer contained on the default classpath in Java SE 9 and are completely removed in Java SE 11.. (cherry picked from commit 14c5fe8c1b61c957ad45d0df801c7928d9e4d134)
This commit is contained in:
parent
f001876680
commit
668bbeb2d2
@ -108,7 +108,7 @@ let cfg = config.services.subsonic; in {
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
script = ''
|
||||
${pkgs.jre}/bin/java -Xmx${toString cfg.maxMemory}m \
|
||||
${pkgs.jre8}/bin/java -Xmx${toString cfg.maxMemory}m \
|
||||
-Dsubsonic.home=${cfg.home} \
|
||||
-Dsubsonic.host=${cfg.listenAddress} \
|
||||
-Dsubsonic.port=${toString cfg.port} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user