- To configure rsync to operate as a daemon (server mode), create a config file, /etc/rsyncd.conf:
vim /etc/rsyncd.conf
- Here’s a sample configuration:
uid = root gid = root use chroot = yes [snap] path = /snap read only = true
- Enable the service to automatically start on boot:
chkconfig rsync on chkconfig --list rsync