We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c36ff29 commit 1914c4aCopy full SHA for 1914c4a
template/start-jupyter.sh
@@ -0,0 +1,7 @@
1
+#!/bin/bash
2
+
3
+/usr/local/bin/jupyter server --IdentityProvider.token=""
4
5
+# 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
@@ -4,7 +4,7 @@ logfile=/var/log/supervisord.log
pidfile=/var/run/supervisord.pid
[program:jupyter]
-command=/usr/local/bin/jupyter server --IdentityProvider.token=""
+command=/root/.jupyter/start-jupyter.sh
8
environment=MATPLOTLIBRC="/root/.config/matplotlib/.matplotlibrc"
9
stdout_logfile=/dev/null
10
stderr_logfile=/dev/fd/1
0 commit comments