Hello, On 11/22/2016 09:15 AM, Andrei Borzenkov wrote: > Mount units are also propagated to systemd user instance. So you > probably can also run this unit in systemd user context and have usual > dependencies on filesystems (like RequiresMountsFor) - at least, I > think so :) You will need to enable lingering then as mentioned > already. User instances are stopped on shutdown too.
Do you mean that adding "After=user.slice" would also prevent systemd to unmount fs before my stop command is finished? Thanks in advance for your answer. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Benoit Schmid Tel: (+41-22) 379-7209 University of Geneva - Information Technology Division _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel