-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script debugging options #156
Conversation
The As for the |
Add two environment variables that may be defined with `docker run -e` to aid debugging: - Define `$DEBUG_TRACE` to turn on `init-data` and `ipa-server-configure-first` script tracing - Define `$DEBUG_NO_EXIT` to disable container exit after failures
@adelton, you're right, I should have used systemd unit drop-ins from the beginning. Take a look at the revised PR. I ended up sticking with adjusting the Thanks for the review. |
Untested but looks good to me. |
@zultron thanks for the patch. I'm kind busy right now, but I'll find some time to test it this week and then, merge it. |
Tested and it works properly. LGTM. |
Tested both the env. variables and they really work great. Thanks! |
Note, in #219 I now propose to put the overrides to |
Add two environment variables that may be defined with
docker run -e
to aid debugging:
Define
$DEBUG_TRACE
to turn oninit-data
andipa-server-configure-first
script tracingDefine
$DEBUG_NO_EXIT
to disable container exit after failures