Davin McCall
|
db32243616
When service started, only notify waiting dependents
|
1 rok pred |
Davin McCall
|
6260206d64
Support for "before" links
|
1 rok pred |
Davin McCall
|
2e68846192
Report failure to start with state as STOPPING (or STOPPED)
|
1 rok pred |
Davin McCall
|
c96e9cb6cc
Remove unnecessary variable assignment
|
2 rokov pred |
Davin McCall
|
6ce305edef
Fix some cases where restarts bypassed the restart delay
|
2 rokov pred |
Alexander Sherikov
|
399014aaf5
Add always-chain option
|
3 rokov pred |
Davin McCall
|
e29949b037
Remove start pin if start fails
|
3 rokov pred |
Davin McCall
|
fa265b4870
Minor tweak to handling of stop pins
|
3 rokov pred |
Davin McCall
|
5ade1e9ec9
Small cleanups.
|
3 rokov pred |
Davin McCall
|
a55f0e0cb5
Re-attach soft dependents immediately when starting.
|
3 rokov pred |
Davin McCall
|
1f72f96054
Remove general "restarting" flag. Refactor.
|
3 rokov pred |
Davin McCall
|
64ab7544a1
Move handling of process auto-restart
|
3 rokov pred |
Davin McCall
|
e735dcda56
If process restart fails, prevent restart of dependents
|
3 rokov pred |
Davin McCall
|
3f41176ac3
Add "for restart" parameter to do_stop()
|
3 rokov pred |
Davin McCall
|
ecf0ef901d
Make "for restart?" a parameter to stop_dependents
|
3 rokov pred |
Davin McCall
|
9fd61240f5
Force-stop as part of restart(), do not require separate force-stop
|
3 rokov pred |
Davin McCall
|
09b1afeeea
Release explicit activation on stopping rather than when stopped
|
3 rokov pred |
Davin McCall
|
0cc114468e
Inhibit restart of dependents when service manually stopped
|
3 rokov pred |
Davin McCall
|
aded9699ec
Correctly detect when dependents have stopped (when they are restarting)
|
3 rokov pred |
Davin McCall
|
68013a0f58
Refactor, and remove dead code
|
3 rokov pred |
Davin McCall
|
b72418556e
Refactoring/minor optimisation
|
3 rokov pred |
Davin McCall
|
eadf930ba9
stop(): Only force target state to stopped if bring_down=true
|
3 rokov pred |
Davin McCall
|
b33a684f5c
Move notification of start cancellation for restarts
|
3 rokov pred |
Davin McCall
|
e12e53cab6
Add/improve code comments
|
3 rokov pred |
Davin McCall
|
2d94c8981b
Avoid calling do_stop on release if already stopping
|
3 rokov pred |
Davin McCall
|
adc7fcdd5b
retain soft dependency links if a stopping service will restart
|
3 rokov pred |
Davin McCall
|
1916d945ea
Refactoring.
|
3 rokov pred |
Davin McCall
|
144eb76979
Re-attach soft dependency relationships when dependency starts
|
3 rokov pred |
Davin McCall
|
7497a71eb7
Update a pin test for new behaviour, add two tests
|
3 rokov pred |
Davin McCall
|
894021de71
Refactor release/require; release deps only when start pin released
|
3 rokov pred |