Skip to content
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

Clean up any stale UNIX domain socket on start #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

citrus-it
Copy link

If the UNIX socket already exists in the filesystem when fastcgi is started, it fails with

[ Apr 17 12:41:53 Executing start method ("/opt/ooce/sbin/fcgiwrap -s unix:/var/opt/ooce/fcgiwrap/run/fcgiwrap.sock -c 1"). ]
Failed to bind: Address already in use

This patch will automatically clean up any stale socket after checking that nothing is listening on it.

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