From 252fbbf2d22915e0b7a793d74e5dd1a3991982c7 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Mon, 20 Feb 2017 04:43:04 +0100 Subject: [PATCH] mattermost sevice: JoinsNamespaceOf for local pgsql (#22899) --- nixos/modules/services/web-apps/mattermost.nix | 1 + 1 file changed, 1 insertion(+) 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";