|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
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 I created /etc/inetd.conf and added the line Code:
rsync stream tcp nowait root /usr/local/bin/rsync rsyncd --daemon So I added the line Code:
inetd=YES Code:
ntpd_flags= inetd=YES |
|
||||
Hello, and welcome!
You can start inetd(8) at boot with defaults flags by having this line in /etc/rc.conf.local: Code:
inetd_flags= Last edited by jggimi; 6th May 2015 at 06:48 PM. Reason: corrected link, removed typo. |
|
|||
Thanks jggimi, your suggestion works!
This is what my /etc/rc.conf.local now looks like: Code:
ntpd_flags= inetd_flags= inetd=YES |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
startup (rc) problems | kopcicle | OpenBSD General | 9 | 15th May 2010 08:35 PM |
Comment out '/etc/inetd.conf' and disable 'inetd' daemon | J65nko | Guides | 0 | 24th January 2010 10:53 PM |
inetd, ftpd problems | jsadm | FreeBSD General | 7 | 24th August 2008 08:33 PM |
Beep on startup? | matt | Programming | 1 | 16th July 2008 08:33 AM |
Runing vsftpd in standalone mode or with inetd? | bigb89 | FreeBSD Security | 2 | 8th May 2008 11:38 PM |