Merge pull request #160611 from jeeger/mediatomb-group-fix
nixos/mediatomb: make service use group
This commit is contained in:
commit
85f873466e
@ -366,6 +366,7 @@ in {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${binaryCommand} --port ${toString cfg.port} ${interfaceFlag} ${configFlag} --home ${cfg.dataDir}";
|
||||
serviceConfig.User = cfg.user;
|
||||
serviceConfig.Group = cfg.group;
|
||||
};
|
||||
|
||||
users.groups = optionalAttrs (cfg.group == "mediatomb") {
|
||||
|
Loading…
Reference in New Issue
Block a user