Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
mariopenterman wants to merge8 commits intothecodingmachine:v3
base:v3
Choose a base branch
Loading
frommariopenterman:fix-graceful-shutdown

Conversation

@mariopenterman
Copy link

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.

@moufmouf
Copy link
Member

Interesting trick! Let me test this!

@moufmouf
Copy link
Member

Ok, I need to ask.
How do you test this?

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
Copy link
Author

Two ways:

Either open a bash session and send the command:
"sudo kill -28 1", where 1 is the PID of Tini.

Or use the docker command:
docker kill --signal="SIGWINCH" container-id/name

@mistraloz
Copy link
Collaborator

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.

@mistralozmistraloz added enhancementWork on new feature (or any question related to new feature) staleIssues inactives for a while (automatically) labelsSep 21, 2021
@mistralozmistraloz added this to theV4 milestoneNov 4, 2021
@mistralozmistraloz removed the staleIssues inactives for a while (automatically) labelNov 4, 2021
This was referencedMar 13, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@moufmoufmoufmoufmoufmouf left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

enhancementWork on new feature (or any question related to new feature)

Projects

None yet

Milestone

V4

Development

Successfully merging this pull request may close these issues.

3 participants

@mariopenterman@moufmouf@mistraloz

[8]ページ先頭

©2009-2025 Movatter.jp