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
|
2023-11-27 17:13:12 +01:00
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
2020-03-27 16:30:16 +01:00
|
|
|
Environment="LC_ALL=C.UTF-8"
|
|
|
|
Environment="LANG=C.UTF-8"
|
2023-11-27 17:13:12 +01:00
|
|
|
Environment="__YNH_NODE_LOAD_PATH__:__INSTALL_DIR__/venv/bin"
|
|
|
|
ExecStart=__INSTALL_DIR__/venv/bin/jupyterhub -f __INSTALL_DIR__/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
|