View Single Post
  #1   (View Single Post)  
Old 6th May 2015
ffonz ffonz is offline
New User
 
Join Date: Apr 2015
Posts: 6
Unhappy How do I run inetd at startup?

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 manually.

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
Code:
rsync           873/tcp
was already in my /etc/services.

I created /etc/inetd.conf and added the line
Code:
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
Code:
inetd=YES
to rc.conf.local, which looks now like this:
Code:
ntpd_flags=
inetd=YES
When I enter inetd at the CLI everything works fine. But when I reboot the NAS, I still don't see inetd running with ps -A. What am I missing?
Reply With Quote