mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
nixos/opentelemetry-collector: Avoid using a fixed hardcoded path
Follow the boyscout rule.
This commit is contained in:
parent
40013729d3
commit
4e3c5fb713
|
@ -63,7 +63,7 @@ in
|
|||
ProtectSystem = "full";
|
||||
DevicePolicy = "closed";
|
||||
NoNewPrivileges = true;
|
||||
WorkingDirectory = "/var/lib/opentelemetry-collector";
|
||||
WorkingDirectory = "%S/opentelemetry-collector";
|
||||
StateDirectory = "opentelemetry-collector";
|
||||
SupplementaryGroups = [
|
||||
# allow to read the systemd journal for opentelemetry-collector
|
||||
|
|
Loading…
Reference in a new issue