Jun 13 2019

Jika Rsync bermasalah

Published by under LinuX

The rsync.service IS installed. You just need to look very hard. 😉

$ systemctl list-unit-files |grep rsync
rsync.service                          disabled

Since the service is disabled by default (…) you need to enable it and then start it.

$ sudo systemctl enable rsync.service
Synchronizing state for rsync.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d rsync defaults
Executing /usr/sbin/update-rc.d rsync enable

$ sudo systemctl start rsync.service

And there you go:

$ systemctl |grep rsync
rsync.service                 loaded active running   fast remote file copy program daemon

This survives reboots. So no need to manually start the service after each boot.

sumber https://askubuntu.com/questions/628102/15-04-rsync-connection-refused

Comments Off on Jika Rsync bermasalah