Adding dependencies to a service.
I have a service called ABC (with a manual startup), and I have added a dependency (using DependonService) to service DEF (also manual startup). Basically I don’t want ABC to start unless the DEF service has started.
What I find is a bit puzzling. I can manually start DEF, and then manually start ABC (which is OK). When I try to stop DEF it warns me that it will stop ABC (which also is OK). However, I can ALSO start ABC without starting DEF.
Any explanation why this is so?
Thanks
Milton
I have a service called ABC (with a manual startup), and I have added a dependency (using DependonService) to service DEF (also manual startup). Basically I don’t want ABC to start unless the DEF service has started.
What I find is a bit puzzling. I can manually start DEF, and then manually start ABC (which is OK). When I try to stop DEF it warns me that it will stop ABC (which also is OK). However, I can ALSO start ABC without starting DEF.
Any explanation why this is so?
Thanks
Milton