Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
gibchikafa committed Sep 16, 2021
1 parent 1e72df7 commit 434a9f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/default/rstudio-launch.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ CLIENT_CERTIFICATES_BUNDLE=${CERTS_DIR}/${PROJECT_USER_NAME}_certificate_bundle.
ROOT_CA_BUNDLE=${CERTS_DIR}/${PROJECT_USER_NAME}_root_ca.pem
CLIENT_KEY=${CERTS_DIR}/${PROJECT_USER_NAME}_private_key.pem

echo "Server password is ${SERVER_PASSWORD}"
help() {
echo ""
echo "usage: $0 RSTUDIO_HOME HADOOP_HOME PROJECT_USER_NAME PORT SECRET_DIR CERTS_DIR IMAGE LOGFILE PROJECT_NAME NAMENODE_HOST NAMENODE_PORT HADOOP_BASE_DIR HADOOP_CLIENT_ENV_OPTS SERVER_PASSWORD HADOOP_VERSION PROJECT_NAME SPARK_VERSION"
Expand Down Expand Up @@ -64,7 +63,6 @@ if [ -f "$PID_FILE" ] ; then
rm $PID_FILE
fi

echo "Secret dir is ${SECRET_DIR}"
docker run --rm -d --cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined --name $CONTAINER_NAME --cidfile=$PID_FILE\
--network=host \
--init \
Expand Down

0 comments on commit 434a9f5

Please sign in to comment.