Commit 74a1bc97 authored by Peter Parente's avatar Peter Parente Committed by GitHub

Merge pull request #393 from minrk/singleuser-start

singleuser-start adjustments
parents 89fcf0fe 2e160bb9
......@@ -4,4 +4,9 @@
set -e
. /usr/local/bin/start.sh jupyter notebook $*
if [[ ! -z "${JUPYTERHUB_API_TOKEN}" ]]; then
# launched by JupyterHub, use single-user entrypoint
exec /usr/local/bin/start-singleuser.sh $*
else
. /usr/local/bin/start.sh jupyter notebook $*
fi
......@@ -10,7 +10,7 @@ then
notebook_arg="--notebook-dir=${NOTEBOOK_DIR}"
fi
exec jupyterhub-singleuser \
. /usr/local/bin/start.sh jupyterhub-singleuser \
--port=${JPY_PORT:-8888} \
--ip=0.0.0.0 \
--user=$JPY_USER \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment