From 6dbc4ba44dc050e5169a6fbc17226f930b47c2a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Sun, 30 Dec 2018 23:28:32 +0100 Subject: [PATCH] install extension --- conf/systemd.service.default | 1 + scripts/install | 2 ++ 2 files changed, 3 insertions(+) diff --git a/conf/systemd.service.default b/conf/systemd.service.default index 2b6429a..0b35399 100644 --- a/conf/systemd.service.default +++ b/conf/systemd.service.default @@ -3,6 +3,7 @@ Description=Jupyterlab 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 Restart=always RestartSec=10 diff --git a/scripts/install b/scripts/install index defe939..944dca2 100644 --- a/scripts/install +++ b/scripts/install @@ -96,6 +96,8 @@ $final_path/bin/conda install -c conda-forge jupyterhub notebook jupyterlab jupy $final_path/bin/jupyter labextension install @jupyterlab/hub-extension $final_path/bin/jupyter lab build +chown $admin -R $final_path/share/jupyter + #================================================= # CONFIGURE JUPYTER NOTEBOOK #=================================================