On 29/07/2022 12:34, Ulrich Windl wrote: Hello, thanks for your answer
Did you try ConditionPathExists= in the Unit?
No but wouldn't the non existence of the file make the job start to fail ? Besides, (see in my post) the error message the service logged was a permission denied.
I agree though that tmpfiles seems to be the most elegant way in general to perform such things.
Thanks. -- Thomas HUMMEL