Davin McCall
|
3303f6f3a6
Check restart limits on stop, rather than initiating restart first
|
2 years ago |
Davin McCall
|
36588b165f
Fix #74, command arg ptrs pointed into invalid string
|
2 years ago |
Davin McCall
|
eadba89080
Dont' set force_notify_fd for the stop command
|
2 years ago |
Davin McCall
|
2e68846192
Report failure to start with state as STOPPING (or STOPPED)
|
2 years ago |
Davin McCall
|
2f5d70574c
Fix start timeout not being active for restarts
|
2 years ago |
Davin McCall
|
8d6ab2f98c
Initial support for cgroups
|
2 years ago |
Davin McCall
|
b5aae5f9ac
Record exec failure reason in service record
|
2 years ago |
Davin McCall
|
bad1a74fd5
Don't let bgprocess reach stopped if waiting for exec status
|
2 years ago |
Davin McCall
|
1c25cba417
Refactor bgprocess_service as a subclass of process_service
|
2 years ago |
Davin McCall
|
19b75cb091
De-register stop watcher using correct PID
|
2 years ago |
Davin McCall
|
1d757bd2ff
Ensure stop_issued goes false on stop
|
2 years ago |
Davin McCall
|
9b3befd497
Implement stop-command support for normal process services
|
2 years ago |
Davin McCall
|
8cdf5e89ac
Fix incorrect state when bgproc is stopped in certain conditions
|
2 years ago |
Davin McCall
|
e3231e3374
bgproc: properly clear smooth recovery flag if recovery fails
|
2 years ago |
Davin McCall
|
100669052f
Avoid accidental creation of string temporary
|
2 years ago |
Davin McCall
|
542d29bc5c
bgprocess: don't jump the gun transitioning to STOPPED during recovery
|
2 years ago |
Davin McCall
|
6ce305edef
Fix some cases where restarts bypassed the restart delay
|
2 years ago |
Davin McCall
|
9338f65cca
Honour term-signal setting for bgproc services
|
2 years ago |
Davin McCall
|
c0c150d614
Move a comment (apparently missed in refactoring)
|
2 years ago |
Davin McCall
|
4baab3958f
Always stop child watch when we see process status change
|
3 years ago |
Davin McCall
|
2fba10a281
Remove the "no-sigterm" option. Have "term-signal" specify the signal.
|
3 years ago |
Davin McCall
|
fe89762a96
Move exec_stage description constants into service-constants.h
|
3 years ago |
Davin McCall
|
d966e0284a
Bump current LOG_INFO messages to LOG_NOTICE
|
3 years ago |
Davin McCall
|
c53b60fdf4
In bgproc stop during smooth recovery, ensure daemon terminated
|
3 years ago |
Davin McCall
|
f1054a193d
bgproc services: cancel stop/start timer once started/failed
|
3 years ago |
Davin McCall
|
8879ba5ad1
Refactor / fix stopping restart timer if bring-down during recovery
|
3 years ago |
Davin McCall
|
28f7f4d866
Support start timeout for process services
|
3 years ago |
Davin McCall
|
1f72f96054
Remove general "restarting" flag. Refactor.
|
3 years ago |
Davin McCall
|
64ab7544a1
Move handling of process auto-restart
|
3 years ago |
Davin McCall
|
e735dcda56
If process restart fails, prevent restart of dependents
|
4 years ago |