I have a service that I want to make consistently stop before another service stops and start after said other service starts. I would like to make this happen on manual service restarts without running a command like:
Code:
service dependent stop ; service master restart ; service dependent start
Is there some way I can configure a dependency, or would I just have to add the commands for the dependent service to the master service's init script and remove the dependent service from the rc.runlevel folders? TIA