On 8/2/11 1:02 AM, Lennart Poettering wrote:
On Thu, 28.07.11 15:20, warpme ([email protected]) wrote:
Zbyszek,
Thx for replay.
You touch exactly the point.
You can use more than one ExecStartPost. E.g.
ExecStartPost=sleep 10
ExecStartPost=systemctl try-restart proc2
This way you remove the u
On Thu, 28.07.11 15:20, warpme ([email protected]) wrote:
>
> Zbyszek,
>
> Thx for replay.
> You touch exactly the point.
>
> >You can use more than one ExecStartPost. E.g.
> > ExecStartPost=sleep 10
> > ExecStartPost=systemctl try-restart proc2
> >This way you remove the unnecessary delay when st
On Wed, 27.07.11 22:05, Warpme ([email protected]) wrote:
> Hi,
> I really like systemd concept.
> I want to use systemctl to control other unit from given unit.
> I'm on systemd-29
>
> Example:
>
> unit1:
> ExecStartPre=systemctl restart service2.service
This won't work since we only allow absolute
On Thu, 28.07.11 10:38, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote:
> Hi,
> to give a more concrete example: proc2=tracd using proc1=postgresql as a
> backend requires a restart after the database daemon is restarted,
> because it doesn't reopen the connection. A really ugly and painful
Zbyszek,
Thx for replay.
You touch exactly the point.
>You can use more than one ExecStartPost. E.g.
> ExecStartPost=sleep 10
> ExecStartPost=systemctl try-restart proc2
>This way you remove the unnecessary delay when starting proc2.
This is exactly way how I want to implement this.
Issue is t
On 07/28/2011 08:37 AM, Warpme wrote:
> On 7/27/11 11:19 PM, Kok, Auke-jan H wrote:
>> 2011/7/27 Warpme:
>>> Hi,
>>> I really like systemd concept.
>>> I want to use systemctl to control other unit from given unit.
>>> I'm on systemd-29
>>>
>>> Example:
>>>
>>> unit1:
>>> ExecStartPre=systemctl res
On 7/27/11 11:19 PM, Kok, Auke-jan H wrote:
2011/7/27 Warpme:
Hi,
I really like systemd concept.
I want to use systemctl to control other unit from given unit.
I'm on systemd-29
Example:
unit1:
ExecStartPre=systemctl restart service2.service
Issuing "systemctl restart unit1.service" gives han
2011/7/27 Warpme :
> Hi,
> I really like systemd concept.
> I want to use systemctl to control other unit from given unit.
> I'm on systemd-29
>
> Example:
>
> unit1:
> ExecStartPre=systemctl restart service2.service
>
> Issuing "systemctl restart unit1.service" gives hang on this command (I have
>
Hi,
I really like systemd concept.
I want to use systemctl to control other unit from given unit.
I'm on systemd-29
Example:
unit1:
ExecStartPre=systemctl restart service2.service
Issuing "systemctl restart unit1.service" gives hang on this command (I
have to terminate manually systemctl)
Whil