krebs.backup: admit plan.startAt

This commit is contained in:
tv 2016-02-08 12:13:28 +01:00
parent 49ed936629
commit e6ea4875d4

View File

@ -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));