I am trying to backup my Synology NAS to my old NAS. The old NAS has to be an rsync compatible server (according to Synology), and the original OS didn't support it. Fortunately OpenBSD supports my NAS ('landisk', well done!), and I managed to get
rsync
running in daemon mode.
I read the option to launch rsync
via inetd
. I thought this would be the best option. I followed the instructions in the man pages. Everything is done under the root account.
The line
rsync 873/tcp
was already in my /etc/services
.
I created /etc/inetd.conf
and added the line
rsync stream tcp nowait root /usr/local/bin/rsync rsyncd --daemon
Then I had to send a HUP signal to inetd. But with ps -A
I didn't see inetd
running.
So I added the line
inetd=YES
to rc.conf.local
, which looks now like this:
ntpd_flags=
inetd=YES
When I enter inetd at the CLI everything works fine. But when I reboot
the NAS, inetd
is not running. What am I missing?
Asked by ffonz
(121 rep)
May 5, 2015, 08:12 PM
Last activity: Jun 15, 2017, 02:25 PM
Last activity: Jun 15, 2017, 02:25 PM