Davin McCall
|
0d1059c439
Rename "workding_dir_def" to "service_dsc_dir" to reflect its nature
|
5 months ago |
Davin McCall
|
2d9f9076ac
Correct handling of termination during smooth recovery with notification
|
6 months ago |
Davin McCall
|
1ab8220a88
handle_exit_status: remove dead stores to service_status
|
6 months ago |
Davin McCall
|
a42f59f2b0
smooth recovery: wait for notification before cancelling restart timer
|
6 months ago |
q66
|
b74c5266fd
Default to service dir as working directory for services
|
6 months ago |
Davin McCall
|
3770e1ca45
Formatting: tabs to spaces
|
9 months ago |
Davin McCall
|
9365471b94
Continue reading (and discarding) output if log buffer full
|
1 year ago |
Davin McCall
|
c66a24450b
Implement output capture to buffer
|
1 year ago |
Davin McCall
|
3303f6f3a6
Check restart limits on stop, rather than initiating restart first
|
1 year ago |
Davin McCall
|
36588b165f
Fix #74, command arg ptrs pointed into invalid string
|
1 year ago |
Davin McCall
|
eadba89080
Dont' set force_notify_fd for the stop command
|
1 year ago |
Davin McCall
|
2e68846192
Report failure to start with state as STOPPING (or STOPPED)
|
1 year ago |
Davin McCall
|
2f5d70574c
Fix start timeout not being active for restarts
|
1 year ago |
Davin McCall
|
8d6ab2f98c
Initial support for cgroups
|
1 year ago |
Davin McCall
|
b5aae5f9ac
Record exec failure reason in service record
|
1 year ago |
Davin McCall
|
bad1a74fd5
Don't let bgprocess reach stopped if waiting for exec status
|
1 year ago |
Davin McCall
|
1c25cba417
Refactor bgprocess_service as a subclass of process_service
|
1 year ago |
Davin McCall
|
19b75cb091
De-register stop watcher using correct PID
|
1 year ago |
Davin McCall
|
1d757bd2ff
Ensure stop_issued goes false on stop
|
1 year ago |
Davin McCall
|
9b3befd497
Implement stop-command support for normal process services
|
1 year ago |
Davin McCall
|
8cdf5e89ac
Fix incorrect state when bgproc is stopped in certain conditions
|
1 year ago |
Davin McCall
|
e3231e3374
bgproc: properly clear smooth recovery flag if recovery fails
|
1 year 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
|
2 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 |