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

17 lines
426 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="PATH=__PATH_WITH_NODEJS__:__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