[systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Change a kernel setting

Thomas HUMMEL thomas.hummel at pasteur.fr
Fri Jul 29 11:09:36 UTC 2022



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


More information about the systemd-devel mailing list