remove interactive tty from docker run command, in sslproxy renew command
This commit is contained in:
@@ -42,7 +42,8 @@ restart_nginx() {
|
|||||||
|
|
||||||
containers=$(docker ps -q --filter "status=running" --filter "name=sslproxy_app")
|
containers=$(docker ps -q --filter "status=running" --filter "name=sslproxy_app")
|
||||||
for c in $containers; do
|
for c in $containers; do
|
||||||
docker exec -it $c nginx -s reload
|
echo -e "\033[94m$c\033[39m"
|
||||||
|
docker exec -t $c nginx -s reload
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user