mirror of
https://github.com/IEEE-SB-Passau/pelican-deployment-system.git
synced 2017-09-06 16:35:38 +02:00
rsync --delay-updates should make things more atomic
This commit is contained in:
@@ -21,7 +21,7 @@ if __name__ == "__main__":
|
||||
raise SystemExit("Not meant to be run directly!")
|
||||
|
||||
def _rsync_cmd(dest):
|
||||
cmd = ("rsync --delete-delay --recursive --times --stats "
|
||||
cmd = ("rsync --delete-delay --recursive --times --stats --delay-updates "
|
||||
"'{output}/' '{dest}'")
|
||||
return cmd.format(dest=dest, output="{output}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user