1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

mattermost sevice: JoinsNamespaceOf for local pgsql (#22899)

This commit is contained in:
Arian van Putten 2017-02-20 04:43:04 +01:00 committed by Franz Pletz
parent 60555c7c0a
commit 252fbbf2d2

View file

@ -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";