Loading start.sh +3 −0 Original line number Diff line number Diff line Loading @@ -99,5 +99,8 @@ echo "$NB_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null run-hooks /usr/local/bin/before-notebook.d echo -e "[INIT] $GREEN Executing the command: jupyter lab not: ${cmd[@]} $NC" cd /home/$NB_USER echo -e "[INIT] $GREEN Setting base url in user config $NC" mkdir -p /home/$NB_USER/.jupyter echo "c.NotebookApp.base_url = '/jupyter/user/${NB_USER}'" > /home/$NB_USER/.jupyter/jupyter_notebook_config.py exec sudo -E -H -u $NB_USER PATH=$PATH XDG_CACHE_HOME=/home/$NB_USER/.cache PYTHONPATH=${PYTHONPATH:-} jupyter lab #"${cmd[@]}" No newline at end of file Loading
start.sh +3 −0 Original line number Diff line number Diff line Loading @@ -99,5 +99,8 @@ echo "$NB_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null run-hooks /usr/local/bin/before-notebook.d echo -e "[INIT] $GREEN Executing the command: jupyter lab not: ${cmd[@]} $NC" cd /home/$NB_USER echo -e "[INIT] $GREEN Setting base url in user config $NC" mkdir -p /home/$NB_USER/.jupyter echo "c.NotebookApp.base_url = '/jupyter/user/${NB_USER}'" > /home/$NB_USER/.jupyter/jupyter_notebook_config.py exec sudo -E -H -u $NB_USER PATH=$PATH XDG_CACHE_HOME=/home/$NB_USER/.cache PYTHONPATH=${PYTHONPATH:-} jupyter lab #"${cmd[@]}" No newline at end of file