mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00: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 New Issue
Block a user