nixos/murmur: add murmur group, don't run as nogroup

fixes #101980
This commit is contained in:
Philipp 2020-10-29 10:32:04 +01:00
parent c0627e5b5b
commit fc856b89e5
No known key found for this signature in database
GPG key ID: 2258EE3B85DE1748
2 changed files with 6 additions and 1 deletions

View file

@ -468,7 +468,7 @@ in
#minecraft = 114; # unused
vault = 115;
#ripped = 116; # unused
#murmur = 117; # unused
murmur = 117;
foundationdb = 118;
newrelic = 119;
starbound = 120;

View file

@ -278,6 +278,10 @@ in
home = "/var/lib/murmur";
createHome = true;
uid = config.ids.uids.murmur;
group = "murmur";
};
users.groups.murmur = {
gid = config.ids.gids.murmur;
};
systemd.services.murmur = {
@ -300,6 +304,7 @@ in
RuntimeDirectory = "murmur";
RuntimeDirectoryMode = "0700";
User = "murmur";
Group = "murmur";
};
};
};