diff --git a/.osparc/jupyter-math/runtime.yml b/.osparc/jupyter-math/runtime.yml index ee7d2e0..9498aaf 100644 --- a/.osparc/jupyter-math/runtime.yml +++ b/.osparc/jupyter-math/runtime.yml @@ -21,5 +21,5 @@ paths-mapping: callbacks-mapping: inactivity: service: container - command: "/docker/inactivity.py" + command: "/docker/activity.py" timeout: 1 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 9b0c8f6..fc99631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,7 +91,7 @@ ENV JP_LSP_VIRTUAL_DIR="/home/${NB_USER}/.virtual_documents" # Copying boot scripts COPY --chown=$NB_UID:$NB_GID docker /docker -RUN chmod +x /docker/inactivity.py \ +RUN chmod +x /docker/activity.py \ && chmod +x /docker/kernel_checker.py RUN echo 'export PATH="/home/${NB_USER}/.venv/bin:$PATH"' >> "/home/${NB_USER}/.bashrc" diff --git a/docker/inactivity.py b/docker/activity.py similarity index 69% rename from docker/inactivity.py rename to docker/activity.py index 37ea005..51173a6 100644 --- a/docker/inactivity.py +++ b/docker/activity.py @@ -1,6 +1,6 @@ #!/home/jovyan/.venv/bin/python -# prints the result of the inactivity command +# prints the result of the activity command import requests