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__