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]
|
2020-12-20 11:33:16 +01:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2020-03-27 16:30:16 +01:00
|
|
|
Environment="LC_ALL=C.UTF-8"
|
|
|
|
Environment="LANG=C.UTF-8"
|
2020-12-20 11:33:16 +01:00
|
|
|
WorkingDirectory=__FINALPATH__
|
2019-10-02 19:48:08 +02:00
|
|
|
Environment="PATH=__NODE_PATH__:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
2019-08-14 00:07:10 +02:00
|
|
|
ExecStart=/usr/local/bin/pipenv run jupyterhub -f __FINALPATH__/config/jupyterhub_config.py
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|