Break holds from soft dependents if a service is manually stopped.
authorDavin McCall <davmac@davmac.org>
Wed, 29 May 2019 08:56:19 +0000 (18:56 +1000)
committerDavin McCall <davmac@davmac.org>
Wed, 29 May 2019 10:17:29 +0000 (20:17 +1000)
commit7cbd73c80598fb396a0bfb4a20ce632ff22d2981
tree2325ef8618d83313089a134554f5c649e13e4a35
parent39999ec3b038018498f6e39909998807124c0031
Break holds from soft dependents if a service is manually stopped.

If all dependents are soft (waits-for or soft) then break their holds on
a service that is manually stopped. This prevents the service from
immediately re-starting, which would be unexpected behaviour.
src/service.cc