summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/backup.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-07 16:09:46 +0100
committertv <tv@krebsco.de>2016-02-07 16:09:46 +0100
commitd01c6f9dbcd2d1d7ccccff5fc8c41ffb53d04a42 (patch)
tree16d4a8232482eb2a459c1d12e49dc84aec967d47 /krebs/3modules/backup.nix
parent00525dc0ef2b73e6d883eb6e7358a616b8c15b69 (diff)
krebs.backup: don't append .{pull,push} to service name
Diffstat (limited to 'krebs/3modules/backup.nix')
-rw-r--r--krebs/3modules/backup.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/backup.nix b/krebs/3modules/backup.nix
index 881e126f6..935370d9c 100644
--- a/krebs/3modules/backup.nix
+++ b/krebs/3modules/backup.nix
@@ -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;
})
;