summaryrefslogtreecommitdiff
path: root/journal-admin.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'journal-admin.cgi')
-rwxr-xr-xjournal-admin.cgi11
1 files changed, 11 insertions, 0 deletions
diff --git a/journal-admin.cgi b/journal-admin.cgi
new file mode 100755
index 0000000..10ac2f5
--- /dev/null
+++ b/journal-admin.cgi
@@ -0,0 +1,11 @@
+#! /bin/sh
+DIR=`dirname "$0"`
+if test -e /home/mulk; then
+ # MST-plus.
+ LISPINIT_DIR="$DIR"
+else
+ # NearlyFreeSpeech.NET.
+ LISPINIT_DIR=/home/protected/journal
+fi
+
+exec clisp -M "$LISPINIT_DIR/lispinit.mem.gz" "$DIR/run.lisp" --admin-mode