0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos/ntpd-rs: fix metrics service

This commit is contained in:
Franz Pletz 2024-01-17 14:56:49 +01:00
parent 842d9d80cf
commit 35c015ff91
No known key found for this signature in database
GPG key ID: 846FDED7792617B4
2 changed files with 8 additions and 6 deletions

View file

@ -74,13 +74,13 @@ in
};
};
systemd.services.ntp-rs-metrics = lib.mkIf cfg.metrics.enable {
systemd.services.ntpd-rs-metrics = lib.mkIf cfg.metrics.enable {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
User = "";
Group = "";
DynamicUser = true;
ExecStart = [ "" "${lib.makeBinPath [ cfg.package ]}/bin/ntp-metrics-exporter --config=${configFile}" ];
ExecStart = [ "" "${lib.makeBinPath [ cfg.package ]}/ntp-metrics-exporter --config=${configFile}" ];
};
};
};