>>> Thomas HUMMEL <thomas.hummel@xxxxxxxxxx> schrieb am 29.07.2022 um 12:13 in Nachricht <1a6092bd-e540-1642-87a4-811ca9413425@xxxxxxxxxx>: > > On 29/07/2022 11:41, Ulrich Windl wrote: > >>> You can use tmpfiles. In the manpage > > Hello, well it seems to depend on the subsystem. I tried the tmpfiles > way but still encountered some unexplained race condition as explained here > > https://lists.freedesktop.org/archives/systemd-devel/2022-July/048100.html > > So I rolled back to a service unit and even so I did have to order it > After= a late (custom) target Did you try ConditionPathExists= in the Unit? > > None of this was satisfactory but I did not manage to find out what > happened. > > Thanks > > -- > Thomas HUMMEL