From 972673d1c94305ad6631e15b3b4213a0b4aef728 Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Wed, 23 May 2012 18:02:27 +0200 Subject: exec the cgi to make sure fastcgi is tracking the right process - Eric Searcy --- CHANGES | 3 +++ htdocs/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b