Skip to content

Commit

Permalink
fix: Fix jupyter-server start script (aws#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhupendrasingh authored and nikhilumeshsargur committed Apr 2, 2024
1 parent 19f55b2 commit 4311d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/v1/dirs/usr/local/bin/start-jupyter-server
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ eval "$(micromamba shell hook --shell=bash)"
micromamba activate base

# Start Jupyter server in rtc mode for shared spaces
if [ -n "$SAGEMAKER_APP_TYPE_LOWERCASE" ] && [ -n "$SAGEMAKER_SPACE_TYPE_LOWERCASE" == "shared" ]; then
if [ -n "$SAGEMAKER_APP_TYPE_LOWERCASE" ] && [ "$SAGEMAKER_SPACE_TYPE_LOWERCASE" == "shared" ]; then
# SAGEMAKER_APP_TYPE is set, indicating the server is running within a SageMaker
# app. Configure the base url to be `/<app-type-in-lower-case>/default`.
# SAGEMAKER_SPACE_TYPE_LOWERCASE flag is used to determine if the server should start
Expand Down

0 comments on commit 4311d14

Please sign in to comment.