tinc: rsync using checksum
Because timestamps in the Nix store cannot be used.
This commit is contained in:
parent
f6cba3d856
commit
dd1584574a
@ -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}/
|
||||
|
Loading…
Reference in New Issue
Block a user