Skip to content

Log init script execution - #111

Open
jasoncpatton wants to merge 1 commit into
opensciencegrid:masterfrom
jasoncpatton:annotate-init-scripts
Open

jasoncpatton wants to merge 1 commit into
opensciencegrid:masterfrom
jasoncpatton:annotate-init-scripts

Conversation

@jasoncpatton

Copy link
Copy Markdown

Because the entrypoint sources the init scripts, it's possible for one of these scripts to stop the container if it does something reasonable to end execution early, like exit or set -e. This commit adds some logging so at least we can track down which script caused the container to stop.

I'm aware that this script is critical to a lot of infrastructure, so if there are any worries about this breaking some kind of workflow, it can be closed. I've at least learned my lesson about how the init scripts work 😅

Because the entrypoint sources the init scripts, it's possible for
one of these scripts to stop the container if it does something
reasonable to end execution early, like "exit" or "set -e". This
commit adds some logging so at least we can track down which script
caused the container to stop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant