f878b3
[Unit]
f878b3
Description=fast remote file copy program daemon
f878b3
ConditionPathExists=/etc/rsyncd.conf
f878b3
Wants=network-online.target
f878b3
After=network-online.target
f878b3
f878b3
[Service]
f878b3
EnvironmentFile=/etc/sysconfig/rsyncd
f878b3
ExecStart=/usr/bin/rsync --daemon --no-detach "$OPTIONS"
f878b3
f878b3
[Install]
f878b3
WantedBy=multi-user.target