Skip to content

Instantly share code, notes, and snippets.

@caingougou
Created November 27, 2013 09:40
Show Gist options
  • Save caingougou/7673090 to your computer and use it in GitHub Desktop.
Save caingougou/7673090 to your computer and use it in GitHub Desktop.
rsync configurations
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
[appfolder]
path = /your/path/here
comment = Folder for apps
uid = cain
gid = cain
read only = no
list = yes
auth users = cain
secrets file = /etc/rsyncd.secrets
hosts allow = 192.168.1.0/255.255.255.0 127.0.0.1
rsyncclient:PassWord
@caingougou
Copy link
Author

yum install rsync
rsync --daemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment