Set uid & gid for clamav
This commit is contained in:
parent
8b21b53e4b
commit
306087355c
|
@ -23,9 +23,15 @@ in {
|
|||
users = {
|
||||
users.clamav = {
|
||||
isSystemUser = true;
|
||||
uid = config.ids.uids.clamav;
|
||||
home = cfg.clamav.state-directory;
|
||||
description = "ClamAV daemon user";
|
||||
group = "clamav";
|
||||
};
|
||||
groups.clamav = { members = [ "clamav" ]; };
|
||||
groups.clamav = {
|
||||
members = [ "clamav" ];
|
||||
gid = config.ids.gids.clamav;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules =
|
||||
|
|
Loading…
Reference in New Issue