For the moment, I gave up writing a nice script based on DBus's
PropertiesChanged events, and I made a temporary dirty script which poll
the service status. I did not solve that in a good way.
--
Adrien BESNARD
2016-07-27 11:47 GMT+02:00 Pradeepa Kumar <cdprade...@gmail.com>:
> Than
I may be wrong, but it sounds like the issue I encoutered here:
https://github.com/systemd/systemd/issues/3390. I also wanted to build a
service monitoring tool :)
Cheers,
--
Adrien BESNARD
2016-07-26 11:24 GMT+02:00 Pradeepa Kumar <cdprade...@gmail.com>:
> Hi
> ActiveState propert
?
The tricky part is that calling LoadUnit cause an UnitNew event (which I
also monitor) and I may be caught in an infinite loop, because the
UnitRemoved is also launched just after...
I will be easier if the PropertiesChanged event is also launched on a Unit
finishing in success!
Adrien BESNARD
it, but I have no idea if it's
related or not...
Cheers,
Adrien BESNARD
2016-05-26 11:59 GMT+02:00 Jan Alexander Steffens <jan.steff...@gmail.com>:
> You need to listen to JobRemoved signals. All of them, before you start
> your job - trying to match on the specific job you get back f
:)
Cheers!
Le 23 mai 2016 11:55, "Adrien Besnard" <adrien.besn...@gmail.com> a écrit :
> Hello,
>
> I'm trying to make a small Python script which send an email when a
> *Type=oneshot
> *service ends (either in success or in failure).
>
> To do that,
an idea of what I'm missing here?
Thanks!
--
Adrien BESNARD
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel