diff --git a/docker-socket-proxy/config.yaml b/docker-socket-proxy/config.yaml index 7cdbcb2..401fdda 100644 --- a/docker-socket-proxy/config.yaml +++ b/docker-socket-proxy/config.yaml @@ -40,7 +40,7 @@ options: commit: false configs: false containers: false - allow_restart: false + allow_restarts: false distribution: false exec: false grpc: false @@ -67,7 +67,7 @@ schema: commit: bool configs: bool containers: bool - allow_restart: bool + allow_restarts: bool distribution: bool exec: bool grpc: bool diff --git a/docker-socket-proxy/settings.sh b/docker-socket-proxy/settings.sh index 08f0573..0be992e 100755 --- a/docker-socket-proxy/settings.sh +++ b/docker-socket-proxy/settings.sh @@ -57,12 +57,12 @@ else echo "export ENABLE_CONFIGS=0" >> ${SETTINGS_CONF} fi -if bashio::config.true 'allow_restart'; then - bashio::log.info "Enabling allow_restart" - echo "export ENABLE_ALLOW_RESTART=1" >> ${SETTINGS_CONF} +if bashio::config.true 'allow_restarts'; then + bashio::log.info "Enabling allow_restarts" + echo "export ENABLE_ALLOW_RESTARTS=1" >> ${SETTINGS_CONF} else - bashio::log.info "Disabling allow_restart" - echo "export ENABLE_ALLOW_RESTART=0" >> ${SETTINGS_CONF} + bashio::log.info "Disabling allow_restarts" + echo "export ENABLE_ALLOW_RESTARTS=0" >> ${SETTINGS_CONF} fi if bashio::config.true 'distribution'; then