1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

add logs for jupyterlab service

This commit is contained in:
Pierre Bourré 2019-01-18 20:29:21 +01:00
parent 45cab316a5
commit c07fb3cb85

View file

@ -4,7 +4,7 @@ After=syslog.target network.target
[Service]
Environment="PATH=__FINALPATH__/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=__FINALPATH__/bin/jupyterhub -f __CONFIGPATH__/jupyterhub_config.py 2&>> /var/log/__APP__.log
ExecStart=/bin/sh -c "__FINALPATH__/bin/jupyterhub -f __CONFIGPATH__/jupyterhub_config.py 2&>> /var/log/__APP__.log"
Restart=always
RestartSec=10
WorkingDirectory=__FINALPATH__