2019-08-14 00:07:10 +02:00
|
|
|
[Unit]
|
2020-06-23 08:19:26 +02:00
|
|
|
Description=JupyterLab
|
2019-08-14 00:07:10 +02:00
|
|
|
After=syslog.target network.target
|
|
|
|
|
|
|
|
[Service]
|
2022-03-11 00:23:07 +01:00
|
|
|
Type=simple
|
|
|
|
User=root
|
|
|
|
WorkingDirectory=__FINALPATH__/
|
2020-03-27 16:30:16 +01:00
|
|
|
Environment="LC_ALL=C.UTF-8"
|
|
|
|
Environment="LANG=C.UTF-8"
|
2023-07-11 12:04:04 +02:00
|
|
|
Environment="__YNH_NODE_LOAD_PATH__:__FINALPATH__/venv/bin"
|
|
|
|
ExecStart=__FINALPATH__/venv/bin/jupyterhub -f __FINALPATH__/config/jupyterhub_config.py --upgrade-db
|
2019-08-14 00:07:10 +02:00
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
2022-03-11 00:23:07 +01:00
|
|
|
WantedBy=multi-user.target
|