roon-server: disable DynamicUser

DynamicUser currently breaks the backup functionality provided by roon,
as the roon server cannot write to non-canonical directories and the
recycled UIDs/GIDs would make managing permissions for the directory
impossible. On top of that, it would break the ability to manage the
local music library files (as it would not be able to delete them).
This commit is contained in:
Alex Guzman 2019-08-07 11:57:42 -07:00
parent 55aa81a5c5
commit 8becc897ea

View file

@ -33,9 +33,7 @@ in {
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.roon-server}/opt/start.sh"; ExecStart = "${pkgs.roon-server}/opt/start.sh";
LimitNOFILE = 8192; LimitNOFILE = 8192;
DynamicUser = true;
SupplementaryGroups = "audio"; SupplementaryGroups = "audio";
StateDirectory = name;
}; };
}; };