Skip to content

Commit c6c4b8b

Browse files
authored
Backport for 6.0: Add addzopeuser command to docker-entrypoint (#175) (#178)
This makes it easier to run the addzopeuser script with the correct conf. Relevant to plone/documentation#1869
2 parents cf9ace0 + dffa798 commit c6c4b8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

skeleton/docker-entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ elif [[ "$1" == "console" ]]; then
160160
exec $sudo $VENVBIN/zconsole debug etc/${CONF}
161161
elif [[ "$1" == "run" ]]; then
162162
exec $sudo $VENVBIN/zconsole run etc/${CONF} "${@:2}"
163+
elif [[ "$1" == "addzopeuser" ]]; then
164+
exec $sudo $VENVBIN/addzopeuser -c etc/${CONF} "${@:2}"
163165
else
164166
# Custom
165167
exec "$@"

0 commit comments

Comments
 (0)