#!/usr/bin/with-contenv bashio
set -e

EXIT_CODE=$1
bashio::log.warning "Nginx s'est arrêté avec le code ${EXIT_CODE}"
exit ${EXIT_CODE}