Skip to content

Commit

Permalink
Update rsync readme
Browse files Browse the repository at this point in the history
  • Loading branch information
whoiami committed Apr 10, 2018
1 parent 25b88e6 commit 09636c0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions slash/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Slash

Rsync

slash/include/rsync.cc

Rsync module is designed to sync document between hosts.

In the destination host, a deamon is setup by calling slash::StartRsync. Meanwhile, rsync config file is created under "raw_path".

In the source host, several slash::RsyncSendFile is invoked, it depends on the files you may need to sync. Then, if you need to delete the files in the remove folder that don't exist in the source host, slash::RsyncSendClearTarget is standby.

After RsyncSendFile process, in the destination host, slash::StopRsync will help you terminate rsync deamon and cleanup everything for you.

0 comments on commit 09636c0

Please sign in to comment.