File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ BindsTo=jupyter.service
88[Service]
99Type =simple
1010WorkingDirectory =/root/.server
11+ ExecStartPre =/root/.jupyter/jupyter-healthcheck.sh
1112ExecStart =/root/.server/.venv/bin/uvicorn main:app --host 0.0.0.0 --port 49999 --workers 1 --no-access-log --no-use-colors --timeout-keep-alive 640
1213Restart =always
1314RestartSec =1
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ Type=simple
77Environment =MATPLOTLIBRC =/root/.config/matplotlib/.matplotlibrc
88Environment =JUPYTER_CONFIG_PATH =/root/.jupyter
99ExecStart =/usr/local/bin/jupyter server --IdentityProvider.token =""
10- ExecStartPost =/root/.jupyter/jupyter-healthcheck.sh
11- ExecStartPost =-/usr/bin/systemctl start code-interpreter
10+ ExecStartPost =-/usr/bin/systemctl start --no-block code-interpreter
1211Restart =on-failure
1312RestartSec =1
1413StandardOutput =null
You can’t perform that action at this time.
0 commit comments