Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 337132 Details for
Bug 453658
dev-util/jenkins - application that monitors executions of repeated jobs, such as building a software project or jobs run by cron.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/init.sh
init.sh (text/plain), 1.83 KB, created by
Christian Strahl
on 2013-01-28 17:41:08 UTC
(
hide
)
Description:
files/init.sh
Filename:
MIME Type:
Creator:
Christian Strahl
Created:
2013-01-28 17:41:08 UTC
Size:
1.83 KB
patch
obsolete
>#!/sbin/runscript > >depend() { > need net > use dns logger mysql postgresql >} > >JENKINS_PIDFILE=/var/run/jenkins.pid >JENKINS_WAR=/usr/lib/jenkins/jenkins.war > >RUN_AS=jenkins > >checkconfig() { > if [ ! -n "$JENKINS_HOME" ] ; then > eerror "JENKINS_HOME not configured" > return 1 > fi > if [ ! -d "$JENKINS_HOME" ] ; then > eerror "JENKINS_HOME directory does not exist: $JENKINS_HOME" > return 1 > fi > return 0 >} > >start() { > checkconfig || return 1 > > JAVA_HOME=`java-config --jre-home` > COMMAND=$JAVA_HOME/bin/java > > JAVA_PARAMS="$JENKINS_JAVA_OPTIONS -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_WAR" > > # Don't use --daemon here, because in this case stop will not work > PARAMS="--logfile=/var/log/jenkins/jenkins.log" > [ -n "$JENKINS_PORT" ] && PARAMS="$PARAMS --httpPort=$JENKINS_PORT" > [ -n "$JENKINS_DEBUG_LEVEL" ] && PARAMS="$PARAMS --debug=$JENKINS_DEBUG_LEVEL" > [ -n "$JENKINS_HANDLER_STARTUP" ] && PARAMS="$PARAMS --handlerCountStartup=$JENKINS_HANDLER_STARTUP" > [ -n "$JENKINS_HANDLER_MAX" ] && PARAMS="$PARAMS --handlerCountMax=$JENKINS_HANDLER_MAX" > [ -n "$JENKINS_HANDLER_IDLE" ] && PARAMS="$PARAMS --handlerCountMaxIdle=$JENKINS_HANDLER_IDLE" > [ -n "$JENKINS_ARGS" ] && PARAMS="$PARAMS $JENKINS_ARGS" > > if [ "$JENKINS_ENABLE_ACCESS_LOG" = "yes" ]; then > PARAMS="$PARAMS --accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file=/var/log/jenkins/access_log" > fi > > ebegin "Starting ${SVCNAME}" > start-stop-daemon --start --quiet --background \ > --make-pidfile --pidfile $JENKINS_PIDFILE \ > --user $RUN_AS \ > --exec "${COMMAND}" -- $JAVA_PARAMS $PARAMS > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > start-stop-daemon --stop --quiet --pidfile $JENKINS_PIDFILE > eend $? >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 453658
:
337128
|
337130
| 337132 |
356130
|
356132
|
356136
|
356138