From: Ian Jackson Date: Mon, 5 Jul 2010 16:02:54 +0000 (+0100) Subject: new invoke script X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?p=rrd-graphs.git;a=commitdiff_plain;h=828c2fe2f3c4f9cca1bf91a34b3d2ef0c04ff91b new invoke script --- diff --git a/cgi-invoke b/cgi-invoke new file mode 100755 index 0000000..ea20307 --- /dev/null +++ b/cgi-invoke @@ -0,0 +1,11 @@ +#!/bin/sh +set -e +exec with-lock-ex -w data/graph-lock sh -ec ' + if ! test -d cache; then + quicksand-setup ||: + mkdir $GRAPH_CGI_CACHE + rm -f cache + ln -s $GRAPH_CGI_CACHE cache + fi + ./cgi "$@" +' x "$@"