From c6ba378b7bb174f38eb4552f0c6a094f9f6c923f Mon Sep 17 00:00:00 2001 From: Cassandra McCarthy Date: Wed, 17 Jul 2024 13:23:19 -0400 Subject: [PATCH] airsonic: update context-path directive This line has been broken since the service file was created. According to the [spring docs] that Airsonic uses, server.context-path is what should be here. I've tested this by manually setting it as an extra JVM option on my machine, and it works. [spring docs]: https://docs.spring.io/spring-boot/docs/1.4.5.RELEASE/reference/htmlsingle/#common-application-properties --- nixos/modules/services/misc/airsonic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/airsonic.nix b/nixos/modules/services/misc/airsonic.nix index 6095268eb960..d980069608e7 100644 --- a/nixos/modules/services/misc/airsonic.nix +++ b/nixos/modules/services/misc/airsonic.nix @@ -141,7 +141,7 @@ in { -Dairsonic.home=${cfg.home} \ -Dserver.address=${cfg.listenAddress} \ -Dserver.port=${toString cfg.port} \ - -Dairsonic.contextPath=${cfg.contextPath} \ + -Dserver.context-path=${cfg.contextPath} \ -Djava.awt.headless=true \ ${optionalString (cfg.virtualHost != null) "-Dserver.use-forward-headers=true"} \