From dffa798cb7df233f5a4e2a34f2a3453371788d4f Mon Sep 17 00:00:00 2001 From: David Glick Date: Wed, 19 Feb 2025 07:55:13 -0800 Subject: [PATCH] Add addzopeuser command to docker-entrypoint (#175) This makes it easier to run the addzopeuser script with the correct conf. Relevant to https://github.com/plone/documentation/pull/1869 --- skeleton/docker-entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skeleton/docker-entrypoint.sh b/skeleton/docker-entrypoint.sh index 9f49658..0fa530a 100755 --- a/skeleton/docker-entrypoint.sh +++ b/skeleton/docker-entrypoint.sh @@ -160,6 +160,8 @@ elif [[ "$1" == "console" ]]; then exec $sudo $VENVBIN/zconsole debug etc/${CONF} elif [[ "$1" == "run" ]]; then exec $sudo $VENVBIN/zconsole run etc/${CONF} "${@:2}" +elif [[ "$1" == "addzopeuser" ]]; then + exec $sudo $VENVBIN/addzopeuser -c etc/${CONF} "${@:2}" else # Custom exec "$@"