1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-08 19:45:42 +03:00

Merge pull request #42306 from ryantm/mattermost

mattermost: 4.10.0 -> 5.0.0
This commit is contained in:
Franz Pletz 2018-06-20 20:52:04 +00:00 committed by GitHub
commit 8f4f748810
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 11 deletions

View file

@ -25,7 +25,7 @@ in
{
options = {
services.mattermost = {
enable = mkEnableOption "Mattermost chat platform";
enable = mkEnableOption "Mattermost chat server";
statePath = mkOption {
type = types.str;
@ -167,7 +167,7 @@ in
'';
systemd.services.mattermost = {
description = "Mattermost chat platform service";
description = "Mattermost chat service";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "postgresql.service" ];
@ -201,7 +201,7 @@ in
PermissionsStartOnly = true;
User = cfg.user;
Group = cfg.group;
ExecStart = "${pkgs.mattermost}/bin/mattermost-platform";
ExecStart = "${pkgs.mattermost}/bin/mattermost";
WorkingDirectory = "${cfg.statePath}";
Restart = "always";
RestartSec = "10";