Glen Huang via rsync wrote:
> ... the mounting paths are dynamically configured in another
> service, so I need to remount whenever the paths change
> if I mount them beforehand.
Could the remount be done in that other service?
> With the "early exec" hook, I can avoid such remounting,
> but
I may be missing your intent, but why not set up different rsyncd modules
for the different paths?
Or are you saying that the paths change dynamically all the time? In which
case set a cron or triggered script to change the symlinks to the paths..?
H
On Sat, Mar 5, 2022 at 5:08 AM Glen Huang via
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
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