memcached: set uid to make it work with #1076
This commit is contained in:
parent
ed9ce850fd
commit
24e2ef5126
@ -108,6 +108,7 @@
|
||||
haproxy = 97;
|
||||
mongodb = 98;
|
||||
openldap = 99;
|
||||
memcached = 100;
|
||||
|
||||
# When adding a uid, make sure it doesn't match an existing gid.
|
||||
|
||||
|
@ -68,8 +68,9 @@ in
|
||||
|
||||
config = mkIf config.services.memcached.enable {
|
||||
|
||||
users.extraUsers = singleton
|
||||
users.extraUsers.memcached =
|
||||
{ name = cfg.user;
|
||||
uid = config.ids.uids.memcached;
|
||||
description = "Memcached server user";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user