#!/bin/sh
# Server startup script for www.experimentalstuff.com
# Since we might want to use this same script on different
# computers, make sure all site-specific configuration information
# (host, port, SMTP host) is in config.<hostname>.
root=/usr/home/brazil/experimentalstuff
LD_LIBRARY_PATH=$root/lib
export LD_LIBRARY_PATH
here=$root/config
cd $here
/bin/java -Xmx128m -classpath ../lib/brazil.jar \
sunlabs.brazil.server.Main \
-c config.schemes -S \
-c config.init \
-c config.main \
-c config.proxy \
-c config.log \
-c config.spl \
-c config.debug \
-c config.`hostname` \
-c config.test \
root $root/html \
direct.root $root/html/images \
$*