nixos/liquidsoap: replace deprecated usage of PermissionsStartOnly
see https://github.com/NixOS/nixpkgs/issues/53852
This commit is contained in:
parent
8fe1c5b30f
commit
5f9a639f69
@ -14,15 +14,10 @@ let
|
|||||||
description = "${name} liquidsoap stream";
|
description = "${name} liquidsoap stream";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [ pkgs.wget ];
|
path = [ pkgs.wget ];
|
||||||
preStart =
|
|
||||||
''
|
|
||||||
mkdir -p /var/log/liquidsoap
|
|
||||||
chown liquidsoap -R /var/log/liquidsoap
|
|
||||||
'';
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
PermissionsStartOnly="true";
|
|
||||||
ExecStart = "${pkgs.liquidsoap}/bin/liquidsoap ${stream}";
|
ExecStart = "${pkgs.liquidsoap}/bin/liquidsoap ${stream}";
|
||||||
User = "liquidsoap";
|
User = "liquidsoap";
|
||||||
|
LogsDirectory = "liquidsoap";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user