Skip to content
Snippets Groups Projects
Verified Commit 9bc83c65 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

web: Adapt entrypoint so shell subcommand is behaving appropriately

parent 7ffb481f
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,10 @@ set -e
case "$1" in
"shell")
exec bash -i
;;
shift
echo "Running command $@"
exec bash -i "$@"
;;
"refresh")
echo "Start periodic save code now refresh statuses routine (in background)"
exec sh -c 'date && django-admin refresh_savecodenow_statuses \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment