-
-
Save jollychang/1216230 to your computer and use it in GitHub Desktop.
Jenkins daemontools run config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
head /service/jenkins/env/* | |
==> /service/jenkins/env/HOME <== | |
/home/jenkins/ | |
==> /service/jenkins/env/JENKINS_HOME <== | |
/home/jenkins/ | |
==> /service/jenkins/env/USER <== | |
jenkins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export LANG='en_US.utf8' | |
exec 2>&1 | |
PIDFILE=/var/run/jenkins.pid | |
JAVA=/usr/lib/jvm/sun-jdk-1.6/bin/java | |
LOG=/var/log/jenkins.log | |
JENKINS_HOME=/home/jenkins | |
WAR="$JENKINS_HOME/jenkins.war" | |
LOCK="/var/lock/subsys/jenkins" | |
exec setuidgid jenkins envdir env ${JAVA} -jar ${WAR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment