krebs.backup: don't append .{pull,push} to service name

This commit is contained in:
tv 2016-02-07 16:09:46 +01:00
parent 00525dc0ef
commit d01c6f9dbc

View File

@ -72,12 +72,12 @@ let
;
systemd.services =
flip mapAttrs' (filterAttrs (_:isPullDst) cfg.plans) (name: plan: {
name = "backup.${name}.pull";
name = "backup.${name}";
value = makePullService plan;
})
//
flip mapAttrs' (filterAttrs (_:isPushSrc) cfg.plans) (name: plan: {
name = "backup.${name}.push";
name = "backup.${name}";
value = makePushService plan;
})
;