PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/core/rsync/rsync.service.post-install main

13 lines Raw ← Back
12345678910111213
if [ ! -f etc/rsyncd.conf ]; then
	cat > etc/rsyncd.conf << "EOF"
# use chroot = yes
# [site]
#   path = /srv/rsync
#   comment = Site web
#   auth users = rsync
#   read only = yes
#   exclude from = /etc/rsync-exclude.txt
#   secrets file = /etc/rsyncd.secrets
EOF
fi
systemctl enable rsyncd