Merge pull request #42287 from ryantm/mattermost-joinsnamespaceof

nixos/mattermost: fix JoinsNamespaceOf config location
This commit is contained in:
Jörg Thalheim 2018-06-20 09:57:16 +01:00 committed by GitHub
commit 36600b2a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {