Re: Multiple paths in a module?

Glen Huang via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <CALNXhk2irH2ViWcvUduJgg7Gn9t5oV4QcBokAkx_Baj-wKSnkw@mail.gmail.com>
On Sat, Mar 5, 2022 at 10:34 PM Roland <[email protected]> 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 I mentioned previously, the mounting paths are
dynamically configured in another service, so I need to remount
whenever the paths change if I mount them beforehand. With the "early
exec" hook, I can avoid such remounting, but it's only doable with root...

Regards,
Glen

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.