From 6ea9384a9d78a27d29d3ac4d8e2332e9f1df4afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Sat, 29 Dec 2018 11:06:34 +0100 Subject: [PATCH] test arm --- conf/jupyterlab.service | 11 +++++++++++ scripts/install | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 conf/jupyterlab.service diff --git a/conf/jupyterlab.service b/conf/jupyterlab.service new file mode 100644 index 0000000..0c43687 --- /dev/null +++ b/conf/jupyterlab.service @@ -0,0 +1,11 @@ +[Unit] +Description=Jupyterlab +After=syslog.target network.target + +[Service] +User=root +Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:__FINAL_PATH__/bin" +ExecStart=Jupyterhub -f __CONFIG_PATH__/jupyterhub_config.py + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/scripts/install b/scripts/install index f0312d8..ae5651e 100644 --- a/scripts/install +++ b/scripts/install @@ -29,6 +29,7 @@ admin=$YNH_APP_ARG_ADMIN #================================================= # Normalize the url path syntax +test -n "$path_url" || path_url="/" path_url=$(ynh_normalize_url_path $path_url) # This function check also the availability of this one @@ -80,7 +81,7 @@ config_jupyterlab # DOWNLOAD, CHECK AND INSTALL JUPYTERLAB #================================================= -wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh +wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-$miniconda_architecture.sh bash Miniconda3-latest-Linux-x86_64.sh -b -p $final_path