Merge pull request #142028 from NixOS/bugfix/subsonic-needs-jdk8

nixos/subsonic: use jre8
This commit is contained in:
Pascal Wittmann 2021-10-18 20:44:41 +02:00 committed by GitHub
commit 89a0ec8f3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,7 +109,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} \