summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oetiker <tobi@oetiker.ch>2012-05-23 18:02:27 +0200
committerTobias Oetiker <tobi@oetiker.ch>2012-05-23 18:02:27 +0200
commit972673d1c94305ad6631e15b3b4213a0b4aef728 (patch)
tree42dc2791029208cd6af093532f527d18f0d74926
parente145ab1abf091802da4aad8e9106d2c234f9251e (diff)
downloadsmokeping-972673d1c94305ad6631e15b3b4213a0b4aef728.tar.gz
smokeping-972673d1c94305ad6631e15b3b4213a0b4aef728.tar.xz
exec the cgi to make sure fastcgi is tracking the right process - Eric Searcy
-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