mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
The user specified in the conf should run MPD
This commit is contained in:
parent
52f84a0400
commit
8811724ec9
@ -118,7 +118,7 @@ in {
|
||||
preStart = "mkdir -p ${cfg.dataDir} && chown -R ${cfg.user}:${cfg.group} ${cfg.dataDir}";
|
||||
script = "exec mpd --no-daemon ${mpdConf}";
|
||||
serviceConfig = {
|
||||
User = "mpd";
|
||||
User = "${cfg.user}";
|
||||
PermissionsStartOnly = true;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user