remove orphans on compose down

This commit is contained in:
crieke
2026-04-15 03:49:49 +02:00
parent ba8a809d13
commit 17988aeebf
2 changed files with 4 additions and 9 deletions

View File

@@ -205,7 +205,7 @@ case "$1" in
echolog "Stopping RoonServer..."
compose_docker_yml_files
export_vars
${DOCKER_CMD} compose ${COMPOSE_FILES} down
${DOCKER_CMD} compose ${COMPOSE_FILES} down --remove-orphans
[ -d "${WEB_PATH}${WEBUI}" ] && rm "${WEB_PATH}${WEBUI}"
echolog "RoonServer has been stopped."
fi