Move processing of start pin in do_stop.
authorDavin McCall <davmac@davmac.org>
Tue, 20 Feb 2018 11:43:51 +0000 (11:43 +0000)
committerDavin McCall <davmac@davmac.org>
Tue, 20 Feb 2018 11:43:51 +0000 (11:43 +0000)
commit20ddac74899c4720378d36cab860d9a7cf89de8e
tree33970562a023cc02e3a3270527ec1f464d12e355
parentef74d6313f01356c5a944ad472651f61e2b72c75
Move processing of start pin in do_stop.

The pin should prevent the process from stopping, but not from any other
effects on dependencies. This change makes dependencies of a
start-pinned service potentially go into STOPPING state, if the pinned
service is issued a stop.
src/service.cc
src/tests/tests.cc