nixos/mattermost: fix JoinsNamespaceOf config location

This commit is contained in:
Ryan Mulligan 2018-06-11 09:47:01 -07:00
parent 55282f339b
commit 24f176f016

View File

@ -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 {