Merge pull request #142118 from NixOS/backport-142028-to-release-21.05

[Backport release-21.05] nixos/subsonic: use jre8
This commit is contained in:
Pascal Wittmann 2021-10-18 21:56:52 +02:00 committed by GitHub
commit 51d80a9fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ let cfg = config.services.subsonic; in {
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
script = '' script = ''
${pkgs.jre}/bin/java -Xmx${toString cfg.maxMemory}m \ ${pkgs.jre8}/bin/java -Xmx${toString cfg.maxMemory}m \
-Dsubsonic.home=${cfg.home} \ -Dsubsonic.home=${cfg.home} \
-Dsubsonic.host=${cfg.listenAddress} \ -Dsubsonic.host=${cfg.listenAddress} \
-Dsubsonic.port=${toString cfg.port} \ -Dsubsonic.port=${toString cfg.port} \