mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-22 11:44:25 +02:00
Rename supervisor-app.conf to dms-services.conf (#3908)
* rename supervisor-app.conf to dms-services.conf * changelog added
This commit is contained in:
parent
512f39c7eb
commit
aa9465773c
3 changed files with 4 additions and 2 deletions
|
@ -184,7 +184,7 @@ function _check_if_process_is_running() {
|
|||
|
||||
# `--list-full` provides information for matching against (full process path)
|
||||
# `--full` allows matching the process against the full path (required if a process is not the exec command, such as started by python3 command without a shebang)
|
||||
# `--oldest` should select the parent process when there are multiple results, typically the command defined in `supervisor-app.conf`
|
||||
# `--oldest` should select the parent process when there are multiple results, typically the command defined in `dms-services.conf`
|
||||
local IS_RUNNING=$(_exec_in_container pgrep --full --list-full "${MIN_SECS_RUNNING[@]}" --oldest "${PROCESS}")
|
||||
|
||||
# When no matches are found, nothing is returned. Provide something we can assert on (helpful for debugging):
|
||||
|
@ -199,7 +199,7 @@ function _check_if_process_is_running() {
|
|||
|
||||
# The process manager (supervisord) should perform a graceful shutdown:
|
||||
# NOTE: Time limit should never be below these configured values:
|
||||
# - supervisor-app.conf:stopwaitsecs
|
||||
# - dms-services.conf:stopwaitsecs
|
||||
# - compose.yaml:stop_grace_period
|
||||
function _should_stop_cleanly() {
|
||||
run docker stop -t 60 "${CONTAINER_NAME}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue