File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- /usr/local/bin/jupyter server --IdentityProvider.token= " "
3+ trap ' echo "Jupyter exited, killing code-interpreter..."; pkill -f "uvicorn main:app" ' EXIT
44
5- # Jupyter exited — kill code-interpreter so supervisord restarts both
6- echo " Jupyter exited, killing code-interpreter..."
7- pkill -f " uvicorn main:app"
5+ exec /usr/local/bin/jupyter server --IdentityProvider.token=" "
Original file line number Diff line number Diff line change @@ -124,7 +124,9 @@ def make_template(
124124 .copy ("start-up.sh" , ".jupyter/start-up.sh" )
125125 .copy ("start-code-interpreter.sh" , ".jupyter/start-code-interpreter.sh" )
126126 .copy ("start-jupyter.sh" , ".jupyter/start-jupyter.sh" )
127- .run_cmd ("chmod +x .jupyter/start-code-interpreter.sh .jupyter/start-up.sh .jupyter/start-jupyter.sh" )
127+ .run_cmd (
128+ "chmod +x .jupyter/start-code-interpreter.sh .jupyter/start-up.sh .jupyter/start-jupyter.sh"
129+ )
128130 .copy ("jupyter_server_config.py" , ".jupyter/" )
129131 .make_dir (".ipython/profile_default/startup" )
130132 .copy ("ipython_kernel_config.py" , ".ipython/profile_default/" )
You can’t perform that action at this time.
0 commit comments