Thanks. But this requires that service_a should be a dummy service. I want both
the services in actual deployment scenario and then fail service_a to simulate
real crash. Any way I can do that?
___
systemd-devel mailing list
[email protected]
Hi Guys,
I am trying to test some code with respect to my services setup. I have two
services, lets say service_a and service_b. In service_a unit file I have this:
OnFailure=service_b
And from the man page for OnFailure unit I get this:
A space-separated list of one or more units that are ac
Thanks Lennart. Is there a way I can do it from shell rather than writing C or
Java code? I just want to quickly verify that the messages I get once Unit
state changes. Any example?
Thanks.
On Wednesday, March 5, 2014 2:22 PM, Lennart Poettering
wrote:
On Wed, 05.03.14 08:42, Usman
Hi Guys,
Probably this question has been asked before and it might be a DBus list
question rather than systemd but just asking anyway, so please pardon my
ignorance. I am using "dbus-send" to get some properties out of systemd dbus
messages when an application dies. The thing is that I need to
Thanks Lenart. Will give it a shot.
___
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
So actually i want to listen on dbus and somehow get a message when an
application has restarted N number of times within time T and will not be
started anymore. How do I differentiate this case from normal application
Release message that I do get each time it restarts?
___
Thanks Lennart. Just a follow up question, can we get the "result" from the
Agent Released message on the dbus somehow? Or which message should I be
listening on dbus for this?
On Thursday, February 27, 2014 5:14 PM, Lennart Poettering
wrote:
On Wed, 26.02.14 11:59, Us
Hi Guys,
I am getting started with systemd and am looking for a particular answer. I
know the config option "StartLimitAction=" will have a pre-set option to choose
from. It either restarts the box or so. But I want to do something else as
well. For example I want to execute a script when rat