- Notifications
You must be signed in to change notification settings - Fork140
Run Apache2 in background#215
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:v3
Are you sure you want to change the base?
Run Apache2 in background#215
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
moufmouf commentedOct 26, 2020
Interesting trick! Let me test this! |
moufmouf commentedOct 26, 2020
Ok, I need to ask. How do you send a SIGWINCH signal to Apache? (right now, what I'm interested in is having Docker shutting down the container when I press ctrl-c, which happens to work) |
mariopenterman commentedOct 26, 2020
Two ways: Either open a bash session and send the command: Or use the docker command: |
mistraloz commentedSep 21, 2021
Thank for your work but we waiting to long to merge it. This PR is based on branch v3. Please compare with v4 and make an other PR. |
When running in foreground mode the SIGWINCH signal is simple being ignored by Apache2.
By switching to background mode and listening to the SIGTERM signal which then executes a graceful stop the problem is solved.