Re: [systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Tomasz Torcz
On Mon, Mar 04, 2013 at 07:01:01PM +0100, Lennart Poettering wrote: > On Mon, 04.03.13 15:25, Belal, Awais ([email protected]) wrote: > > > > > Hi, > > > > So how do i write such a service i.e. when A starts B should be > > started first and when A is stopped B should be stopped as well. I

Re: [systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Lennart Poettering
On Mon, 04.03.13 15:25, Belal, Awais ([email protected]) wrote: > > Hi, > > So how do i write such a service i.e. when A starts B should be > started first and when A is stopped B should be stopped as well. I am > really new to this so any pointers here would be really helpful. I > understa

Re: [systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Reindl Harald
Am 04.03.2013 16:25, schrieb Belal: > So how do i write such a service i.e. when A starts B should be started first > and when A is stopped B should be stopped as well. I am really new to this so > any pointers here would be really helpful. I understand that this is a very > basic question but

Re: [systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Belal, Awais
Awais From: Kay Sievers [[email protected]] Sent: Monday, March 04, 2013 7:54 PM To: Belal, Awais Cc: [email protected] Subject: Re: [systemd-devel] Binary launched in ExecStartPre gets killed... On Mon, Mar 4, 2013 at 12:02 PM, Belal, Awais wrote

Re: [systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Kay Sievers
On Mon, Mar 4, 2013 at 12:02 PM, Belal, Awais wrote: > I have a unit file which does something like this: > In ExecStartPre -> Start A > In ExecStart -> Start B > > Now the thing is B depends on A to function correctly and A is a binary > itself. The behavior I am seeing is a little obvious but st

Re: [systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 04, 2013 at 11:02:36AM +, Belal, Awais wrote: > Hi, > > I have a unit file which does something like this: > In ExecStartPre -> Start A > In ExecStart -> Start B > > Now the thing is B depends on A to function correctly and A is a binary > itself. The behavior I am seeing is a li

[systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Belal, Awais
Hi, I have a unit file which does something like this: In ExecStartPre -> Start A In ExecStart -> Start B Now the thing is B depends on A to function correctly and A is a binary itself. The behavior I am seeing is a little obvious but still I thought there might be a way around this. When the u