diff options
author | Sven Gothel <[email protected]> | 2011-07-24 05:29:32 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-07-24 05:29:32 +0200 |
commit | e806800ac0a3e0bc3b855d6a430428f1984eff28 (patch) | |
tree | 4e628b41e6a30f22e51c4d195a56407e1dd02f03 /jenkins-server-slave-setup/scripts/starthudson.sh | |
parent | 477140f53cf387f09b1336630ed45bebad2b5ff8 (diff) |
Add jenkins server slave setup docs/scripts
Diffstat (limited to 'jenkins-server-slave-setup/scripts/starthudson.sh')
-rwxr-xr-x | jenkins-server-slave-setup/scripts/starthudson.sh | 10 |
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 |