I have a working container running Traefik. I'm trying to implement something where after Traefik stands up successfully a call is made to an external service to kick something off:
traefik --api=true --api.insecure=true ... --api.dashboard=true && [do something]
I've done some experimentation, and it seems that nothing is being executed after the Traefik command. For example:
echo "Hello World" && traefik --api=true --api.insecure=true ... --api.dashboard=true && echo "Goodbye World"
"Goodbye World" never prints out.
If &&
is not feasible, is there any other way to tell when stand up is complete?