diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-06-20 09:57:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-20 09:57:16 +0100 |
commit | 36600b2a50d6c9958d261918fe1df835e73e4397 (patch) | |
tree | ddb23e2eac75151a1de1c6515923fadadc790496 /nixos/modules/services/web-apps | |
parent | b1d291ab47cf19215957af928578befc54f18e7f (diff) | |
parent | 24f176f01691f3d350f64272bc5297a8400d4b99 (diff) | |
download | nixlib-36600b2a50d6c9958d261918fe1df835e73e4397.tar nixlib-36600b2a50d6c9958d261918fe1df835e73e4397.tar.gz nixlib-36600b2a50d6c9958d261918fe1df835e73e4397.tar.bz2 nixlib-36600b2a50d6c9958d261918fe1df835e73e4397.tar.lz nixlib-36600b2a50d6c9958d261918fe1df835e73e4397.tar.xz nixlib-36600b2a50d6c9958d261918fe1df835e73e4397.tar.zst nixlib-36600b2a50d6c9958d261918fe1df835e73e4397.zip |
Merge pull request #42287 from ryantm/mattermost-joinsnamespaceof
nixos/mattermost: fix JoinsNamespaceOf config location
Diffstat (limited to 'nixos/modules/services/web-apps')
-rw-r--r-- | nixos/modules/services/web-apps/mattermost.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/mattermost.nix b/nixos/modules/services/web-apps/mattermost.nix index be74a2b1955b..277cbe35b78f 100644 --- a/nixos/modules/services/web-apps/mattermost.nix +++ b/nixos/modules/services/web-apps/mattermost.nix @@ -203,11 +203,11 @@ in Group = cfg.group; ExecStart = "${pkgs.mattermost}/bin/mattermost-platform"; WorkingDirectory = "${cfg.statePath}"; - JoinsNamespaceOf = mkIf cfg.localDatabaseCreate "postgresql.service"; Restart = "always"; RestartSec = "10"; LimitNOFILE = "49152"; }; + unitConfig.JoinsNamespaceOf = mkIf cfg.localDatabaseCreate "postgresql.service"; }; }) (mkIf cfg.matterircd.enable { |