summary refs log tree commit diff
path: root/nixos/modules/services/web-apps
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2018-06-11 09:47:01 -0700
committerRyan Mulligan <ryan@ryantm.com>2018-06-11 09:47:01 -0700
commit24f176f01691f3d350f64272bc5297a8400d4b99 (patch)
tree82e40ae01b51e88d66bf3f562d554c4fba274693 /nixos/modules/services/web-apps
parent55282f339b946fe7bf652dbe70120cd6ed46fe7e (diff)
downloadnixlib-24f176f01691f3d350f64272bc5297a8400d4b99.tar
nixlib-24f176f01691f3d350f64272bc5297a8400d4b99.tar.gz
nixlib-24f176f01691f3d350f64272bc5297a8400d4b99.tar.bz2
nixlib-24f176f01691f3d350f64272bc5297a8400d4b99.tar.lz
nixlib-24f176f01691f3d350f64272bc5297a8400d4b99.tar.xz
nixlib-24f176f01691f3d350f64272bc5297a8400d4b99.tar.zst
nixlib-24f176f01691f3d350f64272bc5297a8400d4b99.zip
nixos/mattermost: fix JoinsNamespaceOf config location
Diffstat (limited to 'nixos/modules/services/web-apps')
-rw-r--r--nixos/modules/services/web-apps/mattermost.nix2
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 {