Davin McCall
|
5ade1e9ec9
Small cleanups.
|
2 years ago |
Davin McCall
|
a55f0e0cb5
Re-attach soft dependents immediately when starting.
|
2 years ago |
Davin McCall
|
1f72f96054
Remove general "restarting" flag. Refactor.
|
2 years ago |
Davin McCall
|
64ab7544a1
Move handling of process auto-restart
|
2 years ago |
Davin McCall
|
e735dcda56
If process restart fails, prevent restart of dependents
|
3 years ago |
Davin McCall
|
3f41176ac3
Add "for restart" parameter to do_stop()
|
3 years ago |
Davin McCall
|
ecf0ef901d
Make "for restart?" a parameter to stop_dependents
|
3 years ago |
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 |