implement recreate, reload and status, and stop advertising -H

The usage listed recreate but the dispatcher did not know it: myos recreate
exited 2 saying the command was unknown. status was missing too, and -H was
parsed into a variable nothing ever reads, so it was accepted and ignored. It
now refuses rather than pretending.
This commit is contained in:
Yann Autissier
2026-09-05 12:15:05 +02:00
parent f2bcbc6857
commit 60668fc80a
13 changed files with 48 additions and 24 deletions
+7
View File
@@ -0,0 +1,7 @@
make -o docker-stack-recreate MAKE_OLDFILE=docker-stack-recreate ENV=local DOCKER_COMPOSE=docker --log-level=error compose docker-compose-recreate STACK=myos APP_NAME=myos
docker --log-level=error compose --ansi=auto -f @MYOS@/share/compose/networks.yml -p tester-myos-local rm -fs
sh -c docker network create tester-local >/dev/null 2>&1
sh -c docker network create testhost >/dev/null 2>&1
docker --log-level=error compose --ansi=auto -f @MYOS@/share/compose/networks.yml -p tester-myos-local up -d
WARNING: myos[0] host/consul-rule-exists: target host/consul unavailable in app myos
[exit 0]