From: Eric Price Date: Tue, 3 Jun 2008 06:11:03 +0000 (-0400) Subject: Make it easy to kill fcgi processes. X-Git-Tag: sipb-xen-www/3.6~59 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/41c2aef6270583d1bd47c245f27cf87487857b5d Make it easy to kill fcgi processes. svn path=/trunk/packages/sipb-xen-www/; revision=583 --- diff --git a/code/Makefile b/code/Makefile index 582293f..8ff936c 100644 --- a/code/Makefile +++ b/code/Makefile @@ -1,6 +1,11 @@ DIRS = templates -all: +all: kill compile + +kill: + wget http://xvm.mit.edu/kill.cgi -O /dev/null -nv + +compile: for dir in $(DIRS); do \ (cd $$dir; $(MAKE) all); \ done diff --git a/code/kill.cgi b/code/kill.cgi new file mode 100755 index 0000000..f297d32 --- /dev/null +++ b/code/kill.cgi @@ -0,0 +1,5 @@ +#!/bin/sh +pkill main.fcgi +echo "Content-Type: text/plain" +echo +echo "Killed."