Move timer target requirement
This commit is contained in:
parent
6e11b80b40
commit
a7cf162fe3
|
@ -56,11 +56,10 @@ in
|
|||
systemd.timers.smart-ipv6-rotator = {
|
||||
description = "Rotate ipv6 routes to Google";
|
||||
timerConfig = { OnCalendar = "*-*-* 00,06,12,18:00:00"; };
|
||||
wantedBy = [ "invidious.service" ];
|
||||
wantedBy = [ "invidious.service" "timers.target" ];
|
||||
unitConfig = { };
|
||||
};
|
||||
systemd.services.smart-ipv6-rotator = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${ipv6-rotator}/bin/smart-ipv6-rotator run";
|
||||
|
|
Loading…
Reference in a new issue