krebs.backup: admit plan.startAt
This commit is contained in:
parent
49ed936629
commit
e6ea4875d4
@ -76,8 +76,7 @@ let
|
||||
SyslogIdentifier = ExecStart.name;
|
||||
Type = "oneshot";
|
||||
};
|
||||
} // optionalAttrs (plan.startAt != null) {
|
||||
inherit (plan) startAt;
|
||||
startAt = mkIf (plan.startAt != null) plan.startAt;
|
||||
}) (filter (plan: build-host-is "pull" "dst" plan ||
|
||||
build-host-is "push" "src" plan)
|
||||
enabled-plans));
|
||||
|
Loading…
Reference in New Issue
Block a user