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

13 lines
286 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
if [ ! -f /etc/rsyncd.conf ]; then
cat > /etc/rsyncd.conf << "EOF"
# use chroot = yes
# [site]
# path = /root/x.org
# comment = Site web
# auth users = milisx
# read only = yes
# exclude from = /etc/milis_rsync_exclude_files.txt
# secrets file = /etc/rsyncd.secrets
EOF
fi