summaryrefslogtreecommitdiffstats
path: root/scripts/start.jabot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/start.jabot.sh')
-rwxr-xr-xscripts/start.jabot.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/start.jabot.sh b/scripts/start.jabot.sh
index 7b60709..a23a435 100755
--- a/scripts/start.jabot.sh
+++ b/scripts/start.jabot.sh
@@ -1,8 +1,10 @@
#!/bin/bash
-export JABOT_USER=jogl
-export JABOT_HOME=/home/$JABOT_USER/jabot
+
+export JABOT_HOME=/srv/jabot/jabot
export JABOT_LOG=$JABOT_HOME/irc_jogamp_CatOut_`date -u +%Y%m%d%H%M`.log
-export JAVA_HOME=/opt-linux-x86_64/j2se6
+# JAVA_HOME=/opt-linux-x86_64/j2se6
+JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:bin/javac::")
+
JAVA=$JAVA_HOME/bin/java
nohup nice $JAVA \
-cp $JABOT_HOME/build/jabot.jar org.jogamp.jabot.irc.CatOut \
@@ -10,7 +12,7 @@ nohup nice $JAVA \
-server irc.freenode.net -channel jogamp \
-logrotate 86400000 \
-logrotateStart 0505 \
- -logprefix "/home/jogl/jogamp.org/log/irc/" \
+ -logprefix "/srv/www/jogamp.org/log/irc/" \
-urlprefix "http://jogamp.org/log/irc/" \
-htmlHeader $JABOT_HOME/assets/header.html \
-htmlFooter $JABOT_HOME/assets/footer.html \