Re: Multiple paths in a module?

2022-03-07 Thread Glen Huang via rsync
Thanks to everyone helped! I initially thought there might be a direct way to make modules support multiple paths, but your replies confirmed that using bind mount is the way to go. And Roland's suggestion that I should use systemd inspired me to look into systemd-mount, which can beautifully

Re: Multiple paths in a module?

2022-03-05 Thread Glen Huang via rsync
On Sat, Mar 5, 2022 at 10:34 PM Roland wrote: > > why no writing your own systemd service which does the > mounting and setting proper dependency, so it starts before rsyncd starts ? Thanks for the quick reply. The clients will use rsyncd via ssh, so there is no systemd service in play, and as

Multiple paths in a module?

2022-03-05 Thread Glen Huang via rsync
Hi, I'm trying to set up a module for rsyncd where it offers multiple paths like /var/www, /etc/app, etc to be accessed by clients. However, from rsyncd.conf(5) it seems a module can point to only one path. So it seems I should use something like a bind mount, and mount paths to