On Tue, 18.03.14 14:59, Usman (deser...@yahoo.com) wrote:
> 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 OnF
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
systemd-devel@lists.freedes
/etc/systemd/system# cat fail.service
[Unit]
Description=Fail service
[Service]
ExecStart=/bin/false
2014-03-18 22:59 GMT+01:00 Usman :
> 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
Am 18.03.2014 22:59, schrieb Usman:
> 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-se
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