Skip to content
Snippets Groups Projects
Commit 89d8b4da authored by Mikal Sande's avatar Mikal Sande
Browse files

Removed handling of __DIE__ signal.

I removed handling of the __DIE__ signal because it
was causing problems. Because the signalhandler for
the __DIE__ signal was calling remove_pidfile() the
forks ended up removing the PID-file whenever a
backend timed out. Therefore I added a check to
remove_pidfile() to ensure that only the parent
process is allowed to actually remove the PID-file.

I also addded an END statement to take care of
PID-file cleanup.
parent a5588655
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment