chiark / gitweb /
Test configuration
authorijackson <ijackson>
Fri, 23 Jun 2000 13:54:28 +0000 (13:54 +0000)
committerijackson <ijackson>
Fri, 23 Jun 2000 13:54:28 +0000 (13:54 +0000)
config.pl
test-grin [new file with mode: 0755]

index c7d8cbf399a604779250c51dec53721d03ed7ab8..d858cb66caf5557fac442f89d4c8ca7b1bf59619 100644 (file)
--- a/config.pl
+++ b/config.pl
@@ -3,16 +3,16 @@
 # Written by Ian Jackson <ijackson@chiark.greenend.org.uk>, 1999.
 # I hereby place this file in the public domain.
 
-$whose= "Cambridge";
+$whose= "Testing";
 $adminname= 'Ian Jackson';
-$adminemail= 'ijackson+cam-grin@chiark.greenend.org.uk';
+$adminemail= 'ijackson@chiark.greenend.org.uk';
 $nameboxlen= 55;
 $contactboxlen= 55;
 $emailboxlen= 55;
 $nullemail= 'discard-all@chiark.greenend.org.uk';
 
 $site= 'http://www.ucam.org';
-$whoabbrev= 'cam';
+$whoabbrev= 'test';
 $home= "$site/$whoabbrev-grin/";
 
 $cgisite= 'http://www.chiark.greenend.org.uk';
diff --git a/test-grin b/test-grin
new file mode 100755 (executable)
index 0000000..f1dde24
--- /dev/null
+++ b/test-grin
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Sample file for executing Cambridge G-RIN.  This is what it actually
+# invoked by the webserver, but of course you must edit it.
+# 
+# Written by Ian Jackson <ijackson@chiark.greenend.org.uk>, 1999.
+# I hereby place this file in the public domain.
+
+set -e
+umask 007
+cd /home/ijackson/things/bcp5-registry
+BCP5REGISTRY_LOCKED=1
+export BCP5REGISTRY_LOCKED
+exec with-lock-ex -w lockfile ./bcp5-registry.pl --cgi . .