I am using CentOS release 6.7
.
I have 2 services, say A
and B
. Service B
is dependent on service service A
. For example, if service A
stops, I want service B
to stop automatically. Similarly, if service A
starts, I want service B
to also start automatically after that. (Service A can be running on a remote server)
Is there a tool or any utility which can help me do this?