diff options
author | Maximilian Güntner <code@sourcediver.org> | 2019-04-13 16:05:59 +0200 |
---|---|---|
committer | Maximilian Güntner <code@sourcediver.org> | 2019-05-16 21:14:13 +0200 |
commit | 1a84bfc0a2ccc3d6119ed714be84568c48289cbb (patch) | |
tree | af03fcf6c9dd3994559d8b1fa7d32e99cb36f295 /nixos/modules/services/networking/mxisd.nix | |
parent | cbef2d552fac67d85e9911c428d71b8c044444c8 (diff) | |
download | nixpkgs-1a84bfc0a2ccc3d6119ed714be84568c48289cbb.tar nixpkgs-1a84bfc0a2ccc3d6119ed714be84568c48289cbb.tar.gz nixpkgs-1a84bfc0a2ccc3d6119ed714be84568c48289cbb.tar.bz2 nixpkgs-1a84bfc0a2ccc3d6119ed714be84568c48289cbb.tar.lz nixpkgs-1a84bfc0a2ccc3d6119ed714be84568c48289cbb.tar.xz nixpkgs-1a84bfc0a2ccc3d6119ed714be84568c48289cbb.tar.zst nixpkgs-1a84bfc0a2ccc3d6119ed714be84568c48289cbb.zip |
mxisd: 1.2.0 -> 1.4.3
Diffstat (limited to 'nixos/modules/services/networking/mxisd.nix')
-rw-r--r-- | nixos/modules/services/networking/mxisd.nix | 10 |
1 files changed, 1 insertions, 9 deletions
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"; }; }; |