summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--htdocs/Makefile.am2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index bef8953..4adc81b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+* in the smokeping.fcgi sample, make sure to exec the script so that
+ mod_fcgi tracks the right process -- Eric Searcy
+
* Fork alert handler scripts so that sokeping does not block
2012/02/07 -- released version 2.6.8
diff --git a/htdocs/Makefile.am b/htdocs/Makefile.am
index 85fcbd3..12de76f 100644
--- a/htdocs/Makefile.am
+++ b/htdocs/Makefile.am
@@ -28,5 +28,5 @@ nobase_js_DATA = $(JS)
install-data-local:
$(MKDIR) -p $(DESTDIR)$(HTDOCSDIR)
$(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
- $(ECHO) "$(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+ $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist