mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
13 lines
No EOL
423 B
Desktop File
13 lines
No EOL
423 B
Desktop File
[Unit]
|
|
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;JUPYTER_CONFIG_DIR=__FINALPATH__/config"
|
|
ExecStart=/usr/local/bin/pipenv run jupyterhub -f __FINALPATH__/config/jupyterhub_config.py
|
|
Restart=always
|
|
RestartSec=10
|
|
WorkingDirectory=__FINALPATH__
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |