mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 06:52:56 +00:00
Revert to using supervisord to launch notebook
Used to relaunch notebook and collect logging data.
This commit is contained in:

committed by
Peter Parente

parent
f2b7f38df6
commit
30932a3b12
@@ -12,8 +12,5 @@ if [ ! -z "$GRANT_SUDO" ]; then
|
||||
echo "$NB_USER ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/notebook
|
||||
fi
|
||||
|
||||
# Run Notebook server as $NB_USER
|
||||
su -l $NB_USER << EOF
|
||||
cd $WORK
|
||||
jupyter notebook
|
||||
EOF
|
||||
# Start supervisord in foreground, PID1
|
||||
exec supervisord -n -c /etc/supervisor/supervisord.conf
|
||||
|
Reference in New Issue
Block a user