diff --git a/playbooks/roles/ood-applications/files/bc_rstudio/template/start_container.sh b/playbooks/roles/ood-applications/files/bc_rstudio/template/start_container.sh index c5ab35a32..749948aad 100644 --- a/playbooks/roles/ood-applications/files/bc_rstudio/template/start_container.sh +++ b/playbooks/roles/ood-applications/files/bc_rstudio/template/start_container.sh @@ -7,6 +7,6 @@ container_name=$1 echo "container_name=$container_name" echo "enroot start" -enroot start --rw -e NOTEBOOK_ROOT="$NOTEBOOK_ROOT" -e CONFIG_FILE="$CONFIG_FILE" -e PORT="$port" $container_name $THIS_DIR/start_rstudio.sh +enroot start --rw -e NOTEBOOK_ROOT="$NOTEBOOK_ROOT" -e CONFIG_FILE="$CONFIG_FILE" -e port="$port" $container_name $THIS_DIR/start_rstudio.sh echo "enroot remove" enroot remove -f $container_name diff --git a/playbooks/roles/ood-applications/files/bc_rstudio/template/start_rstudio.sh b/playbooks/roles/ood-applications/files/bc_rstudio/template/start_rstudio.sh index 29806f36a..07d7b1af6 100755 --- a/playbooks/roles/ood-applications/files/bc_rstudio/template/start_rstudio.sh +++ b/playbooks/roles/ood-applications/files/bc_rstudio/template/start_rstudio.sh @@ -12,4 +12,4 @@ EOF # Launch the Rstudio server set -x -/usr/lib/rstudio-server/bin/rserver --www-port ${PORT} +/usr/lib/rstudio-server/bin/rserver --www-port ${port}