diff --git a/conf/jupyterhub_config.py b/conf/jupyterhub_config.py index e934d9f..f2f0d77 100644 --- a/conf/jupyterhub_config.py +++ b/conf/jupyterhub_config.py @@ -553,7 +553,7 @@ c.ConfigurableHTTPProxy.api_url = 'http://127.0.0.1:__PORT_HTTP_PROXY__' # Some spawners allow shell-style expansion here, allowing you to use # environment variables here. Most, including the default, do not. Consult the # documentation for your spawner to verify! -#c.Spawner.args = [] +c.Spawner.args = ['--config=__FINAL_PATH__/config/jupyter_notebook_config.py'] ## The command used for starting the single-user server. # diff --git a/conf/systemd.service b/conf/systemd.service index 091b67c..cdbad2c 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -3,8 +3,7 @@ Description=Jupyterlab After=syslog.target network.target [Service] -Environment="PATH=__NODE_PATH__:__FINALPATH__/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -Environment="JUPYTER_CONFIG_DIR=__FINALPATH__/config" +Environment="PATH=__NODE_PATH__:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ExecStart=/usr/local/bin/pipenv run jupyterhub -f __FINALPATH__/config/jupyterhub_config.py Restart=always RestartSec=10