summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-03-06 14:24:02 +0100
committertv <tv@krebsco.de>2022-03-06 17:34:10 +0100
commitdd1584574a454bc628ebadc2be41c93e7cc0418b (patch)
tree180e75fa73545825289df4d2341d9adf7ede55a7 /krebs
parentf6cba3d856da8a95fcb3b2fd2b932c81ae3cfa9a (diff)
tinc: rsync using checksum
Because timestamps in the Nix store cannot be used.
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/tinc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix
index 444436149..4feb02d10 100644
--- a/krebs/3modules/tinc.nix
+++ b/krebs/3modules/tinc.nix
@@ -251,7 +251,7 @@ with import <stockholm/lib>;
];
ExecStartPre = pkgs.writers.writeDash "init-tinc-${netname}" ''
${pkgs.coreutils}/bin/mkdir -p /etc/tinc
- ${pkgs.rsync}/bin/rsync -vaL --delete \
+ ${pkgs.rsync}/bin/rsync -Lacv --delete \
--chown ${cfg.user.name} \
--chmod u=rwX,g=rX \
${cfg.confDir}/ /etc/tinc/${netname}/