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 agre
>>> Thomas HUMMEL schrieb am 29.07.2022 um 12:13 in
Nachricht <1a6092bd-e540-1642-87a4-811ca9413...@pasteur.fr>:
>
> 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
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-Jul
>>> Tomasz Torcz schrieb am 29.07.2022 um 11:01 in
Nachricht
:
> On Fri, Jul 29, 2022 at 08:45:51AM +0200, Ulrich Windl wrote:
>> Hi!
>>
>> I wonder: What is the recommended way to do this with systemd?:
>> ---
>> Add the following command to a script executed on system boot, such as
> /etc/init
On Fri, Jul 29, 2022 at 08:45:51AM +0200, Ulrich Windl wrote:
> Hi!
>
> I wonder: What is the recommended way to do this with systemd?:
> ---
> Add the following command to a script executed on system boot, such as
> /etc/init.d/boot.local:
>
> # echo 0 > /sys/kernel/mm/ksm/run
> ---
> Do I have