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

13 lines
286 B
Text
Raw Normal View History

2016-02-26 04:41:17 +02:00
if [ ! -f /etc/rsyncd.conf ]; then
cat > /etc/rsyncd.conf << "EOF"
2016-02-24 02:27:23 +02:00
# use chroot = yes
# [site]
2016-03-20 03:15:25 +02:00
# path = /root/x.org
2016-02-24 02:27:23 +02:00
# comment = Site web
2016-03-20 03:15:25 +02:00
# auth users = milisx
2016-02-24 02:27:23 +02:00
# read only = yes
2016-03-20 03:15:25 +02:00
# exclude from = /etc/milis_rsync_exclude_files.txt
2016-02-24 02:27:23 +02:00
# secrets file = /etc/rsyncd.secrets
EOF
fi