diff --git a/roles/jupyter/templates/jupyter.service b/roles/jupyter/templates/jupyter.service index f9e5aa798..8ce535369 100644 --- a/roles/jupyter/templates/jupyter.service +++ b/roles/jupyter/templates/jupyter.service @@ -5,7 +5,7 @@ After=syslog.target network.target [Service] User=root Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:{{ jupyter_venv }}/bin" -ExecStart={{ jupyter_venv }}/bin/jupyterhub -f {{ jupyter_venv }}/etc/jupyterhub/jupyterhub_config.py +ExecStart={{ jupyter_venv }}/bin/python3 -m jupyterhub -f {{ jupyter_venv }}/etc/jupyterhub/jupyterhub_config.py [Install] WantedBy=multi-user.target