1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Fix terminal

This commit is contained in:
Kay0u 2019-10-02 19:48:08 +02:00
parent 7f18eade2b
commit 8bb3c404d4
No known key found for this signature in database
GPG key ID: 7FF262C033518333
2 changed files with 2 additions and 3 deletions

View file

@ -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 # Some spawners allow shell-style expansion here, allowing you to use
# environment variables here. Most, including the default, do not. Consult the # environment variables here. Most, including the default, do not. Consult the
# documentation for your spawner to verify! # 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. ## The command used for starting the single-user server.
# #

View file

@ -3,8 +3,7 @@ Description=Jupyterlab
After=syslog.target network.target After=syslog.target network.target
[Service] [Service]
Environment="PATH=__NODE_PATH__:__FINALPATH__/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" Environment="PATH=__NODE_PATH__:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Environment="JUPYTER_CONFIG_DIR=__FINALPATH__/config"
ExecStart=/usr/local/bin/pipenv run jupyterhub -f __FINALPATH__/config/jupyterhub_config.py ExecStart=/usr/local/bin/pipenv run jupyterhub -f __FINALPATH__/config/jupyterhub_config.py
Restart=always Restart=always
RestartSec=10 RestartSec=10