From c07fb3cb8563bc7e24e16792d2754a8c3640c25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Fri, 18 Jan 2019 20:29:21 +0100 Subject: [PATCH] add logs for jupyterlab service --- conf/systemd.service.default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service.default b/conf/systemd.service.default index 0b35399..c8063f7 100644 --- a/conf/systemd.service.default +++ b/conf/systemd.service.default @@ -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__