Fix systemd
This commit is contained in:
parent
367acf9232
commit
c728f7eb2d
|
@ -3,7 +3,7 @@
|
|||
services.prometheus-systemd-exporter = {
|
||||
Unit.Description = "Prometheus systemd exporter";
|
||||
Service = {
|
||||
ExecStart = "${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter --collector.user";
|
||||
ExecStart = "${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter --systemd.collector.user";
|
||||
};
|
||||
Install.WantedBy = ["default.target"];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue