We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f86f1ca commit 730f76aCopy full SHA for 730f76a
template/start-jupyter.sh
@@ -1,5 +1,7 @@
1
#!/bin/bash
2
3
-trap 'echo "Jupyter exited, killing code-interpreter..."; pkill -f "uvicorn main:app"' EXIT
+/usr/local/bin/jupyter server --IdentityProvider.token=""
4
5
-exec /usr/local/bin/jupyter server --IdentityProvider.token=""
+# Jupyter exited — kill code-interpreter so supervisord restarts both
6
+echo "Jupyter exited, killing code-interpreter..."
7
+pkill -f "uvicorn main:app"
template/supervisord.conf
@@ -10,6 +10,8 @@ stdout_logfile=/dev/null
10
stderr_logfile=/dev/fd/1
11
stderr_logfile_maxbytes=0
12
autorestart=true
13
+stopasgroup=true
14
+killasgroup=true
15
priority=10
16
17
[program:code-interpreter]
0 commit comments