Skip to content
Snippets Groups Projects
Commit 18f2c036 authored by Lars Beckers's avatar Lars Beckers
Browse files

add SIGPIPE handler to RT config

This prevents the RT FCGI-Service from termination, because of the
missing signal handler. Nginx emits the signal on prematurely closed
connections. This happens more frequently than one would assume.
parent 802673c9
No related branches found
No related tags found
No related merge requests found
...@@ -97,3 +97,10 @@ Set($NotifyActor, 1); ...@@ -97,3 +97,10 @@ Set($NotifyActor, 1);
Set($LogoAltText, '{{rt_logotext}}'); Set($LogoAltText, '{{rt_logotext}}');
Set($LogoLinkURL, '{{rt_logolinkurl}}'); Set($LogoLinkURL, '{{rt_logolinkurl}}');
#Set($LogoURL, it’s easier to upload this in the web interface); #Set($LogoURL, it’s easier to upload this in the web interface);
# should prevent crashing caused by nginx
# from: https://rt-wiki.bestpractical.com/wiki/FreeBSDInstallGuide
$SIG{'PIPE'} = sub {
print STDERR "SIGPIPE @_\n";
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment