Created
September 7, 2017 08:47
-
-
Save raidery/c33819f9b5753da34884adb038e52df7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright (c) Jupyter Development Team. | |
# Distributed under the terms of the Modified BSD License. | |
set -e | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment