Merge pull request #160611 from jeeger/mediatomb-group-fix
nixos/mediatomb: make service use group
This commit is contained in:
commit
85f873466e
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue