forked from mirrors/nixpkgs
nixos/mattermost: fix JoinsNamespaceOf config location
This commit is contained in:
parent
55282f339b
commit
24f176f016
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue