rsync配置安装的时候如何更改默认服务器配置文件路径(etc/rsyncd.conf)?
在./configure -h的帮助中有提到使用--with-rsyncd-conf=Path可以更改
在我写了./configure --prefix=/usr/local/rsync2.6.9 --with-rsyncd-conf=/usr/local/rsync2.6.9/rsyncd.conf
后make&&make install
但在运行rsync --deamon时还是失败的,只有把 rsyncd.conf放到etc/rsyncd.conf才能运行rsync
然后我查看了安装目录下的config.h文件,关键值已经修改成了/usr/local/rsync2.6.9/rsyncd.conf
然后我只能看源代码....没怎么看懂
有谁配置成功的,能给你提示吗?