I have multiple servers that receive files via rsync on different ports. I'd like to merge them into the same physical server and let the clients continue to direct their files to the same port they do now (ie different alternate ports).
Normally I'd just run /usr/bin/rsync --daemon --port=x for each one, but I'm trying to get it to work via xinetd in centos 6 since that's the 'default' rsync server now. Adding the ports in /etc/services didn't do it (it should have under inetd, but maybe not xinetd?). If I run the daemon manually and let xinetd run one it runs (so I'm not blocked to just get it done), but I'd still like them to both be run by xinetd. My question is can that even be done?
As a side thing, in man rsync:
--port=PORT This specifies an alternate TCP port number for the daemon to listen on rather than the default of 873. See also the lqportrq global option in the rsyncd.conf manpage.
lqportrq doesn't show up in man rsync.d or a google search anywhere. what gives?