memcached: set uid to make it work with #1076

This commit is contained in:
Jaka Hudoklin 2013-12-13 10:05:36 +01:00
parent ed9ce850fd
commit 24e2ef5126
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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";
};