Re: [systemd-devel] From dbus notification, how to know service entered failed state and will not start without admin action

2022-02-18 Thread Prashantkumar dhotre
Hi, Can you please help ? I see that in OnFailure behaviour is changed and these units in OnFailure gets triggerd when service is failed-and-will-not-restart-automatically. https://lists.freedesktop.org/archives/systemd-devel/2018-June/040879.html In such case, does systemd also send dbus signal w

Re: [systemd-devel] [systemd‑devel] Q: Perform action for reboots happen too frequently?

2022-02-18 Thread Silvio Knizek
Am Freitag, dem 18.02.2022 um 09:52 +0100 schrieb Ulrich Windl: > > > > Thanks Silvio! > > That looks like I was after. But admitted: I had expected that > systemd could > do some of the "shell scripting magic" (like counting and comparing). > > Regards, > Ulrich Well, counting and comparing goes i

[systemd-devel] From dbus notification, how to know service entered failed state and will not start without admin action

2022-02-18 Thread Prashantkumar dhotre
Hi, In my app, I am monitoring a few services and would like to do some cleanup in my app, when these services fail in such a way that they don't restart back up without admin action. >From dbus-monitor , I see that 'Result' dbus PropertiesChanged signal comes first and then 'ActiveState' Propert

[systemd-devel] Antw: Re: Antw: [EXT] Re: [systemd‑devel] Q: Perform action for reboots happen too frequently?

2022-02-18 Thread Ulrich Windl
>>> Silvio Knizek schrieb am 18.02.2022 um 09:37 in Nachricht <7d547aa30624f2dc8d22ea7f84507fa1d8e9c678.ca...@gmx.net>: > Am Donnerstag, dem 17.02.2022 um 10:50 +0100 schrieb Ulrich Windl: >> > > > Lennart Poettering schrieb am >> > > > 16.02.2022 um 18:17 >> in >> Nachricht : >> > On Mi, 16.02.2

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] Q: Perform action for reboots happen too frequently?

2022-02-18 Thread Silvio Knizek
Am Donnerstag, dem 17.02.2022 um 10:50 +0100 schrieb Ulrich Windl: > > > > Lennart Poettering schrieb am > > > > 16.02.2022 um 18:17 > in > Nachricht : > > On Mi, 16.02.22 14:09, Ulrich Windl > > (ulrich.wi...@rz.uni‑regensburg.de) > wrote: > > > > > Hi! > > > > > > I wonder: Is it possible with s