[systemd-devel] bug or I misunderstand systemd configuration rules ?
microcai at fedoraproject.org
Thu Aug 25 17:53:46 PDT 2011
On 2011年08月26日 03:33, Warpme wrote:
> I have problem with understanding following systemd behaviour and need
> assistance of somebody knowledgeable in systemd config area:
> daemon1 is server for application1
> I want to have situation where:
> 1\"systemctl start application1" also starts daemon1
> 2\"systemctl stop daemon1" also stops also application1
No, daemon1 will be started as long as application1 talk to daemon1
> 3\"systemctl restart appication1" restarts only application1
> 4\"systemctl restart daemon1" restarts also application1
No need to do that. Just restart daemon1 and application1 won't even
> 5\abort of daemon1 triggers also restart of application1
daemon1 will be started again.
> I do tests on ArchLinux with systemd 33.
> For daemon1 unit file I don't enter any relevant to this example
> After/BindTo statements.
> For application1 unit file I have:
> Above configuration work as expected for 1\, 2\ & 3\
> AFAIK 5\ is not Yet implemented.
> Unfortunately for 4\ systemctl hangs during execution "systemctl
> restart daemon1".
> It is bug or I completely misunderstand systemd configuration rules ?
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel