Skip to content

Commit

Permalink
Add addzopeuser command to docker-entrypoint (#175)
Browse files Browse the repository at this point in the history
This makes it easier to run the addzopeuser script with the correct
conf. Relevant to plone/documentation#1869
  • Loading branch information
davisagli authored Feb 19, 2025
2 parents e993168 + 760eefb commit 6bf76c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skeleton/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down

0 comments on commit 6bf76c2

Please sign in to comment.