| 1 |
rsync for Debian |
| 2 |
---------------- |
| 3 |
|
| 4 |
If you still have an init.d based system, you need to edit /etc/default/rsync |
| 5 |
by hand to set |
| 6 |
RSYNC_ENABLE=true |
| 7 |
so that the init.d script will try to start the daemon. |
| 8 |
|
| 9 |
Note that this is not necessary for systemd-based systems; i.e. the default |
| 10 |
in jessie! To override options for the rsync daemon on these systems, copy |
| 11 |
/lib/systemd/system/rsync.service to /etc/systemd/system/rsync.service and |
| 12 |
modify the copy; add required options to the ExecStart line. |
| 13 |
|
| 14 |
You will need an /etc/rsyncd.conf file as described by the rsyncd.conf |
| 15 |
manpage for rsync to do anything useful as a daemon (the daemon won't |
| 16 |
start otherwise); you can look at |
| 17 |
/usr/share/doc/rsync/examples/rsyncd.conf as an example. |