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:
parent
7f18eade2b
commit
8bb3c404d4
2 changed files with 2 additions and 3 deletions
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue