This is an automated email from the ASF dual-hosted git repository. mykolabodnar pushed a commit to branch DLAB-515 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-515 by this push: new c837db6 [DLAB-515]- Rstudio fixed c837db6 is described below commit c837db68f3c4d85a8555f38da16dc0f8391cd84a Author: bodnarmykola <bodnarmyk...@gmail.com> AuthorDate: Thu May 28 10:09:10 2020 +0300 [DLAB-515]- Rstudio fixed --- infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py index 39abcd2..246aeb6 100644 --- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py +++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py @@ -130,7 +130,7 @@ def install_rstudio(os_user, local_spark_path, rstudio_pass, rstudio_version): 'sed -i \'/\[Service\]/a Environment=\"HTTPS_PROXY={}\"\' /etc/systemd/system/rstudio-server.service'.format( https_proxy)) java_home = run("update-alternatives --query java | grep -o \'/.*/java-8.*/jre\'").splitlines()[0] - sudo('sed -i \'/\[Service\]/ a\Environment=\"JAVA_HOME={}\"\' /tmp/jupyter-notebook.service'.format( + sudo('sed -i \'/\[Service\]/ a\Environment=\"JAVA_HOME={}\"\' /tmp/rstudio-notebook.service'.format( java_home)) sudo("systemctl daemon-reload") sudo('touch /home/{}/.Renviron'.format(os_user)) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org