Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

restart jupyter-server : command not found #76

@jackkwok

Description

@jackkwok

The on-start.sh script attempts to restart the jupyter server but I got error that the restart command is not found. How to fix that?

2021-12-22T15:06:26.697-08:00 | Restarting the Jupyter server.. 2021-12-22T15:06:32.236-08:00Copy/tmp/OnStart_2021-12-22-23-068l8lm3x9: line 24: restart: command not found | /tmp/OnStart_2021-12-22-23-068l8lm3x9: line 24: restart: command not found

Source of the restart command:
https://github.com/aws-samples/amazon-sagemaker-notebook-instance-lifecycle-config-samples/blob/master/scripts/persistent-conda-ebs/on-start.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions