summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/scripts/starthudson.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-24 05:29:32 +0200
committerSven Gothel <[email protected]>2011-07-24 05:29:32 +0200
commite806800ac0a3e0bc3b855d6a430428f1984eff28 (patch)
tree4e628b41e6a30f22e51c4d195a56407e1dd02f03 /jenkins-server-slave-setup/scripts/starthudson.sh
parent477140f53cf387f09b1336630ed45bebad2b5ff8 (diff)
Add jenkins server slave setup docs/scripts
Diffstat (limited to 'jenkins-server-slave-setup/scripts/starthudson.sh')
-rwxr-xr-xjenkins-server-slave-setup/scripts/starthudson.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/scripts/starthudson.sh b/jenkins-server-slave-setup/scripts/starthudson.sh
new file mode 100755
index 0000000..47fcac9
--- /dev/null
+++ b/jenkins-server-slave-setup/scripts/starthudson.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+FLAGS="-server -Xms256m -Xmx512m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops"
+HUDSON_HOME=/srv/hudson/config
+export HUDSON_HOME
+
+. /opt-linux-x86_64/etc/profile.jre6
+. /opt-share/etc/profile.ant
+
+/opt-linux-x86_64/jre6/bin/java ${FLAGS} -jar /srv/hudson/hudson.war 2>&1 | tee hudson.log