Davin McCall
|
9fd61240f5
Force-stop as part of restart(), do not require separate force-stop
|
3 years ago |
Davin McCall
|
09b1afeeea
Release explicit activation on stopping rather than when stopped
|
3 years ago |
Davin McCall
|
0cc114468e
Inhibit restart of dependents when service manually stopped
|
3 years ago |
Davin McCall
|
aded9699ec
Correctly detect when dependents have stopped (when they are restarting)
|
3 years ago |
Davin McCall
|
68013a0f58
Refactor, and remove dead code
|
3 years ago |
Davin McCall
|
b72418556e
Refactoring/minor optimisation
|
3 years ago |
Davin McCall
|
eadf930ba9
stop(): Only force target state to stopped if bring_down=true
|
3 years ago |
Davin McCall
|
b33a684f5c
Move notification of start cancellation for restarts
|
3 years ago |
Davin McCall
|
e12e53cab6
Add/improve code comments
|
3 years ago |
Davin McCall
|
2d94c8981b
Avoid calling do_stop on release if already stopping
|
3 years ago |
Davin McCall
|
adc7fcdd5b
retain soft dependency links if a stopping service will restart
|
3 years ago |
Davin McCall
|
1916d945ea
Refactoring.
|
3 years ago |
Davin McCall
|
144eb76979
Re-attach soft dependency relationships when dependency starts
|
3 years ago |
Davin McCall
|
7497a71eb7
Update a pin test for new behaviour, add two tests
|
3 years ago |
Davin McCall
|
894021de71
Refactor release/require; release deps only when start pin released
|
3 years ago |
Davin McCall
|
e723ad069d
Move start pin check in do_stop(). Reverts an earlier change.
|
3 years ago |
Davin McCall
|
dee4ec20e0
When released, don't propagate release if already stopped
|
3 years ago |
Davin McCall
|
e1b53efcfc
Small re-work of unpin
|
3 years ago |
Davin McCall
|
b98206c8b7
Ensure service starts if starting due to unpin
|
3 years ago |
Davin McCall
|
8c27073893
Don't start a service that's pinned stopped
|
3 years ago |
Davin McCall
|
f13b653880
Don't bring down/release dependencies if pinned started
|
3 years ago |
Davin McCall
|
69c49f0374
Perform release on stop if activation count 0
|
3 years ago |
Davin McCall
|
cf37c780ff
Remove unneeded release propagation when stopped
|
3 years ago |
Davin McCall
|
d0ab0b015c
Don't break acquisition on un-start-pin
|
3 years ago |
Davin McCall
|
5a9182718e
Correct release of start-pinned services
|
3 years ago |
Davin McCall
|
28cbfd074a
Fix/simplify logic in service release
|
3 years ago |
Davin McCall
|
4e3272fe39
Clarify chain-to details. Fix implementation.
|
3 years ago |
Davin McCall
|
f10d628c71
Don't chain-load service if shutting down
|
3 years ago |
Davin McCall
|
ccdf8b687d
Fix bug with activation count for auto-restart services
|
4 years ago |
Davin McCall
|
d8b9f2e18a
Set target state to STOPPED when stop is issued
|
4 years ago |