2013-04-02 18:25:38 +00:00
|
|
|
[push]
|
|
|
|
uid = ${USERNAME}
|
|
|
|
path = ${HOME_DIR}/${FILES_DIR}/.sync
|
|
|
|
use chroot = 0
|
|
|
|
read only = 0
|
|
|
|
write only = 1
|
|
|
|
log file = ${HOME_DIR}/rsync.log
|
|
|
|
fake super = 1
|
|
|
|
max connections = 1
|
|
|
|
lock file = ${HOME_DIR}/rsyncd.lock
|
2014-09-12 16:47:10 +00:00
|
|
|
post-xfer exec = touch "${HOME_DIR}/${FILES_DIR}/.sync" && /usr/bin/rs-rotate "${HOME_DIR}/rsnapshot.conf"
|
2013-04-02 18:25:38 +00:00
|
|
|
|
|
|
|
[pull]
|
|
|
|
uid = ${USERNAME}
|
|
|
|
path = ${HOME_DIR}/${FILES_DIR}
|
|
|
|
use chroot = 0
|
|
|
|
read only = 1
|
|
|
|
fake super = 1
|