diff --git a/8.0/entrypoint.sh b/8.0/entrypoint.sh index e56a423..f0afda8 100755 --- a/8.0/entrypoint.sh +++ b/8.0/entrypoint.sh @@ -9,4 +9,8 @@ set -e : ${PGPASSWORD:=$DB_ENV_POSTGRES_PASSWORD} export PGHOST PGPORT PGUSER PGPASSWORD +if [ "${1:0:1}" = '-' ]; then + set -- /usr/bin/openerp-server --config=/etc/odoo/openerp-server.conf "$@" +fi + exec "$@"