Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Oct 23, 2023
1 parent 5c52d5e commit 874d99f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 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: "/path/to/your/inactivity/hook"
command: ["python", "/docker/inactivity.py"]
timeout: 1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ENV JP_LSP_VIRTUAL_DIR="/home/${NB_USER}/.virtual_documents"
COPY --chown=$NB_UID:$NB_GID docker /docker

RUN chmod +x /docker/inactivity.py \
&& chmod +x /docker/kernel_cehcker.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/entrypoint.bash
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ chmod gu-w "/home/${NB_USER}/work"

echo
echo "$INFO" "Starting notebook ..."
exec gosu "$NB_USER" /docker/kernel_cehcker.py &
exec gosu "$NB_USER" /docker/kernel_checker.py &
exec gosu "$NB_USER" /docker/boot_notebook.bash
1 change: 0 additions & 1 deletion docker/inactivity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#!/home/jovyan/.venv/bin/python

# prints the result of the inactivity command
Expand Down
File renamed without changes.

0 comments on commit 874d99f

Please sign in to comment.