Introduce "explicitly started" state flag for services, and automatically
authorDavin McCall <davmac@davmac.org>
Sat, 9 Jan 2016 18:20:48 +0000 (18:20 +0000)
committerDavin McCall <davmac@davmac.org>
Sat, 9 Jan 2016 18:20:48 +0000 (18:20 +0000)
commit81229c59e62fff7dad5c84631ff92fd5758e0c81
tree15f27057ff8c2dba4ccd0c6ee588a220a5a44707
parentaa71ea68bce0819b73cce0a060b685ccf8012d6c
Introduce "explicitly started" state flag for services, and automatically
stop services which were not explicitly started when they have no
dependents running.

This means that if you start a service, and then stop that service, the
system should return to its original state with no additional services
running.
src/service.cc
src/service.h