<div dir="ltr"><div><div><div><div><div><div><div><div>Hi All,<br><br></div> The use case I have is following:<br><br></div> I have a service B, which for its operation depends on Service A. Using systemd feature, I can make systemd start service B after service A has indicated ready.<br><br></div> The issue is service B also does a lot of initialization which is independent of service A (which also has length initialization code). After that initialization it needs to know of service A availability, before service B can declare itself ready. <br><br></div> I see two choices:<br><br></div>1. Use systemd and have it start service B after service A is fully ready, even if that means that the service B intialization is not being done in parallel<br><br></div>2. Let systemd start service A and B together, and have some specific messaging/mechanism from service A and B<br><br></div> The third option I was looking for but which I could not find, was to <br><br></div><div> have systemd start both independently, and then have service B query/wait on systemd service till service A sends a SD_NOTIFY with ready message?<br><br></div><div> is something like that possible, or is option 2 the best way for me to proceed?<br><br></div><div>Thanks<br></div><div>Jana<br><br></div></div>