... | ... | @@ -32,7 +32,7 @@ For the CI, on our droplet, make sure rsync is running: |
|
|
systemctl list-unit-files | grep rsync
|
|
|
|
|
|
# Make a config file with the `apilab` module
|
|
|
echo $'uid = root\ngid = root\nlog file = /var/log/rsync.log\n\n[apilab]\n\tpath = /var/www/apilab' > /etc/rsyncd .conf
|
|
|
echo $'uid = root\ngid = root\nlog file = /var/log/rsync.log\n\n[apilab]\n\tpath = /var/www/apilab\n\tread only = false' > /etc/rsyncd.conf
|
|
|
|
|
|
# Start rsync service
|
|
|
sudo systemctl start rsync.service
|
... | ... | |