Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Mar 7, 2024
1 parent 712afcd commit 0c43510
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .osparc/jupyter-math/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ paths-mapping:
callbacks-mapping:
inactivity:
service: container
command: "/docker/inactivity.py"
command: "/docker/activity.py"
timeout: 1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docker/inactivity.py → docker/activity.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 0c43510

Please sign in to comment.