Skip to content
Snippets Groups Projects
Commit c9d54df7 authored by Florian Sesser's avatar Florian Sesser
Browse files

Fix systemd dependencies

Thanks go out to @tomprince!
parent 46fa6822
No related branches found
No related tags found
2 merge requests!228merge develop into production,!220Monitoring/tahoe metrics collector: Add systemd dependency declarations
Pipeline #1561 passed
......@@ -42,8 +42,6 @@ in {
systemd.services.tahoe-metrics-collector = {
enable = true;
description = "Tahoe metrics gathering service";
wantedBy = [ "multi-user.target" ];
wants = [ "tahoe.storage.service" ];
after = [ "tahoe.storage.service" ];
startAt = cfg.interval;
path = [ pkgs.curl ];
......@@ -56,6 +54,9 @@ in {
mv "${cfg.outFile}.tmp" "${cfg.outFile}"
'';
};
systemd.timers.tahoe-metrics-collector = {
after = [ "tahoe.storage.service" ];
};
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment