INNER CODE UNIT · Shell
LETSENCRYPT_SERVICE_NAME
evertramos/nginx-proxy-automation · bin/fresh-start.sh:759
LETSENCRYPT_SERVICE_NAME=${STRING_REMOVE_ALL_SPECIAL_CHAR_STRING_RESPONSE:-null}
[[ $LETSENCRYPT_SERVICE_NAME == null ]] && echoerror "The service name can not contain special chars, neither be empty"
# Check exists a container with this name
run_function docker_check_container_exists $LETSENCRYPT_SERVICE_NAME
if [[ "$DOCKER_CONTAINER_EXISTS" == true ]]; then
# Check if there is a container running with this name
run_function docker_check_container_is_running $LETSENCRYPT_SERVICE_NAME
if [[ "$DOCKER_CONTAINER_IS_RUNNING" == true ]]; then
[[ "$SILENT" != true ]] && echowarning \
"The container '$LETSENCRYPT_SERVICE_NAME' is running in this server \
\nmake sure you have unique names for each container. This script \
\nmight stop and remove the container if you set '--yes' or reply \
\n'yes' on the line below, but, there is no turn back on this action!"
if [[ "$REPLY_YES" == true ]]; then