[systemd-devel] Hand when using systemctl in unit files
Kok, Auke-jan H
auke-jan.h.kok at intel.com
Wed Jul 27 14:19:07 PDT 2011
2011/7/27 Warpme <warpme at o2.pl>:
> I really like systemd concept.
> I want to use systemctl to control other unit from given unit.
> I'm on systemd-29
> ExecStartPre=systemctl restart service2.service
> Issuing "systemctl restart unit1.service" gives hang on this command (I have
> to terminate manually systemctl)
> While I don't know is this by design behavior or not - I think it would be
> nice to have possibility to control units from other units
Can you explain why you need this? This sounds like you have a broken
design to begin with, and you're masking it with something that is
even more broken. Please try to use more arguments than "nice to have"
but give a real example.
More information about the systemd-devel