Skip to content

Commit

Permalink
nixos/redis: add redis group
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 10, 2020
1 parent 496bc90 commit 10acf9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/services/databases/redis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ in
description = "Redis database user";
isSystemUser = true;
};
users.groups.redis = {};

environment.systemPackages = [ cfg.package ];

Expand All @@ -240,6 +241,7 @@ in
StateDirectory = "redis";
Type = "notify";
User = "redis";
Group = "redis";
};
};
};
Expand Down

0 comments on commit 10acf9a

Please sign in to comment.