On 2022-03-16 18:05, Andrei Borzenkov wrote:
On 15.03.2022 14:13, Carlos E. R. wrote:
On Wednesday, 2022-03-02 at 21:36 +0100, Carlos E. R. wrote:
On Wednesday, 2022-03-02 at 20:52 +0100, Carlos E. R. wrote:
On Wednesday, 2022-03-02 at 22:00 +0300, Andrei Borzenkov wrote:
Ah, wait... you say "Still, systemd will start units listed in target's OnFailure when target start job failed".
So, maybe edit "sleep.target"
...
Well, we'll see if it works :-)
Thanks for the idea.
After days of hibernation without problems, yesterday I had a failed one, but this service/script did not trigger.
Current status:
Telcontar:~ # systemctl cat sleep.target
Unit that failed was hibernate.target, not sleep.target.
Ah... Ok, will change. Thanks. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)