From 1a84bfc0a2ccc3d6119ed714be84568c48289cbb Mon Sep 17 00:00:00 2001 From: Maximilian Güntner Date: Sat, 13 Apr 2019 16:05:59 +0200 Subject: mxisd: 1.2.0 -> 1.4.3 --- nixos/modules/services/networking/mxisd.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/networking/mxisd.nix b/nixos/modules/services/networking/mxisd.nix index 0b9824f29fd..02e89f441b3 100644 --- a/nixos/modules/services/networking/mxisd.nix +++ b/nixos/modules/services/networking/mxisd.nix @@ -103,20 +103,12 @@ in { after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; - # mxisd / spring.boot needs the configuration to be named "application.yaml" - preStart = '' - config=${cfg.dataDir}/application.yaml - cp ${configFile} $config - chmod 444 $config - ''; - serviceConfig = { Type = "simple"; User = "mxisd"; Group = "mxisd"; - ExecStart = "${cfg.package}/bin/mxisd --spring.config.location=${cfg.dataDir}/ --spring.profiles.active=systemd --java.security.egd=file:/dev/./urandom"; + ExecStart = "${cfg.package}/bin/mxisd -c ${configFile}"; WorkingDirectory = cfg.dataDir; - SuccessExitStatus = 143; Restart = "on-failure"; }; }; -- cgit 1.4.1