Rename to base-notebook

(c) Copyright IBM Corp. 2016
This commit is contained in:
Peter Parente
2016-05-18 22:11:34 -04:00
parent b9ff1d25b1
commit 839e8307b6
9 changed files with 8 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/bash
set -e
notebook_arg=""
if [ -n "${NOTEBOOK_DIR:+x}" ]
then
notebook_arg="--notebook-dir=${NOTEBOOK_DIR}"
fi
exec jupyterhub-singleuser \
--port=8888 \
--ip=0.0.0.0 \
--user=$JPY_USER \
--cookie-name=$JPY_COOKIE_NAME \
--base-url=$JPY_BASE_URL \
--hub-prefix=$JPY_HUB_PREFIX \
--hub-api-url=$JPY_HUB_API_URL \
${notebook_arg} \
$@