Re: [systemd-devel] How to lock two instances of a templated service against each other

2025-07-30 Thread Andrei Borzenkov
30.07.2025 11:00, Marc Haber wrote: Hi, On Wed, Jul 30, 2025 at 07:31:56AM +0300, Andrei Borzenkov wrote: 29.07.2025 11:30, Marc Haber wrote: Hi, I have a template service unit which runs a oneshot service that generates both high CPU and high I/O load for a couple of minutes. The service is

Re: [systemd-devel] How to lock two instances of a templated service against each other

2025-07-30 Thread Barry Scott
> On 30 Jul 2025, at 09:00, Marc Haber wrote: > > I find the entire Before/After and Wants/Requires incredibly powerful but > also hard to grasp. I am not a newbie to systemd but this is something that I > have not fully understood yet. The description in `man systemd.unit` seem to describe

Re: [systemd-devel] How to lock two instances of a templated service against each other

2025-07-30 Thread Marc Haber
Hi, On Wed, Jul 30, 2025 at 08:28:34PM +0100, Barry Scott wrote: On 30 Jul 2025, at 09:00, Marc Haber wrote: I find the entire Before/After and Wants/Requires incredibly powerful but also hard to grasp. I am not a newbie to systemd but this is something that I have not fully understood yet.

Re: [systemd-devel] How to lock two instances of a templated service against each other

2025-07-30 Thread Marc Haber
Hi, On Wed, Jul 30, 2025 at 07:31:56AM +0300, Andrei Borzenkov wrote: 29.07.2025 11:30, Marc Haber wrote: Hi, I have a template service unit which runs a oneshot service that generates both high CPU and high I/O load for a couple of minutes. The service is templated a couple of times and runs