Re: [systemd-devel] Restarting "onshot" services

2022-03-01 Thread Michal Koutný
Hello.

On Thu, Feb 24, 2022 at 03:35:13PM +0100, Ulrich Windl 
 wrote:
> Is that intentional?

It was, see

https://github.com/systemd/systemd/commit/10e72727ee

(perhaps some other commits too, this was the first that popped up on
me).

> (systemd 228 of SLES12 SP5)

The commmit above is from v244.

Regards,
Michal


[systemd-devel] Restarting "onshot" services

2022-02-24 Thread Ulrich Windl
Hi!

It seems "oneshot" services are not retried when they fail.
I read systemd.service, but the manual does not explain that "oneshot" in no 
candidate for RestartSec or Restart.
Is that intentional?

(systemd 228 of SLES12 SP5)

Regards,
Ulrich