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 08:56:19 +0000 (18:56 +1000)
commit041f04df1785e1bb803b9c6cf8363af669dc56a2
tree8120a57e00b5ce2e2792d7fb56210243684d637f
parentf20900acd26fb3d03046c874cfcc678f32d91fbb
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