This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync --daemon --port 31337 --no-detach -vv --config /var/tmp/.rsyncd.conf | |
cat <<EOF > /var/tmp/.rsyncd.conf | |
[store] | |
path = /path/to/file | |
read only = no | |
list = yes | |
uid = nobody | |
gid = nogroup | |
use chroot = false | |
EOF |