milis/talimatname/temel/rsync/rsync.service.kur-kos

13 lines
298 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
if [ ! -f etc/rsyncd.conf ]; then
cat > etc/rsyncd.conf << "EOF"
# use chroot = yes
# [site]
# path = /home/saravane/nutyx.org
# comment = Site web
# auth users = tnut
# read only = yes
# exclude from = /etc/saravane_rsync_exclude_files.txt
# secrets file = /etc/rsyncd.secrets
EOF
fi