On Wed, 2021-03-24 at 06:02 +0800, Ed Greshko wrote:
> On 23/03/2021 18:57, Patrick O'Callaghan wrote:
> > Sure, I'd like to see it. I've been testing various mods to the
> > whole
> > thing because I couldn't get it to work reliably, i.e. the loop
> > waiting
> > for the unmount would work when run directly from the shell, but
> > not
> > when run from a systemd service. I think it's working now (or
> > nearly)
> > but all contributions are welcome.
> 
> Well, I saw no difference running things from a shell or as a
> service.  So, I can't comment.
> 
> Anyway, see the included tar.  As usual, mine is nfs mount.
> 
> The mount starts dock-down2.timer which runs once/minute.  You can
> change that.
> When unmount is noticed, the "touch" will signify it and the timer
> will be stopped.
> 
> > 
> > I attach the current version for comparison.

Just a quick comment: I think the x-systemd.mount-timeout entry in
aux.mount should be x-systemd.idle-timeout, at least according to the
systemd.mount man page.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to