diff options
author | Tobias Oetiker <tobi@oetiker.ch> | 2012-05-23 18:02:27 +0200 |
---|---|---|
committer | Tobias Oetiker <tobi@oetiker.ch> | 2012-05-23 18:02:27 +0200 |
commit | 972673d1c94305ad6631e15b3b4213a0b4aef728 (patch) | |
tree | 42dc2791029208cd6af093532f527d18f0d74926 | |
parent | e145ab1abf091802da4aad8e9106d2c234f9251e (diff) | |
download | smokeping-972673d1c94305ad6631e15b3b4213a0b4aef728.tar.gz smokeping-972673d1c94305ad6631e15b3b4213a0b4aef728.tar.xz |
exec the cgi to make sure fastcgi is tracking the right process - Eric Searcy
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | htdocs/Makefile.am | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |