summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorArian van Putten <arian.vanputten@gmail.com>2017-02-20 04:43:04 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2017-02-20 04:43:04 +0100
commit252fbbf2d22915e0b7a793d74e5dd1a3991982c7 (patch)
treeb022751f3a154dae7c5f8549f05797cb51500cbb /nixos
parent60555c7c0a3f7577d3105764e19d231a7af7c6b9 (diff)
downloadnixlib-252fbbf2d22915e0b7a793d74e5dd1a3991982c7.tar
nixlib-252fbbf2d22915e0b7a793d74e5dd1a3991982c7.tar.gz
nixlib-252fbbf2d22915e0b7a793d74e5dd1a3991982c7.tar.bz2
nixlib-252fbbf2d22915e0b7a793d74e5dd1a3991982c7.tar.lz
nixlib-252fbbf2d22915e0b7a793d74e5dd1a3991982c7.tar.xz
nixlib-252fbbf2d22915e0b7a793d74e5dd1a3991982c7.tar.zst
nixlib-252fbbf2d22915e0b7a793d74e5dd1a3991982c7.zip
mattermost sevice: JoinsNamespaceOf for local pgsql (#22899)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/mattermost.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/mattermost.nix b/nixos/modules/services/web-apps/mattermost.nix
index bf3a8eed6004..8e6baf6a17e3 100644
--- a/nixos/modules/services/web-apps/mattermost.nix
+++ b/nixos/modules/services/web-apps/mattermost.nix
@@ -202,6 +202,7 @@ in
           ExecStart = "${pkgs.mattermost}/bin/mattermost-platform";
           WorkingDirectory = "${cfg.statePath}";
           PrivateTmp = true;
+          JoinsNamespaceOf = mkIf cfg.localDatabaseCreate "postgresql.service";
           Restart = "always";
           RestartSec = "10";
           LimitNOFILE = "49152";