1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00
jupyterlab_ynh/conf/systemd.service
Éric Gaspar 98000995da v2
2023-11-27 17:13:12 +01:00

17 lines
423 B
Desktop File

[Unit]
Description=JupyterLab
After=syslog.target network.target
[Service]
Type=simple
User=root
WorkingDirectory=__INSTALL_DIR__/
Environment="LC_ALL=C.UTF-8"
Environment="LANG=C.UTF-8"
Environment="__YNH_NODE_LOAD_PATH__:__INSTALL_DIR__/venv/bin"
ExecStart=__INSTALL_DIR__/venv/bin/jupyterhub -f __INSTALL_DIR__/config/jupyterhub_config.py --upgrade-db
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target