/etc/default/jenkins-slave is in jenkins-slave 1.424.6+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | # defaults for jenkins-slave component of the jenkins continuous integration
# system
# pulled in from the init script; makes things easier.
NAME=jenkins-slave
# location of java
JAVA=/usr/bin/java
# arguments to pass to java - optional
#JAVA_ARGS="-Xmx256m"
# for daemon to use
PIDFILE=/var/run/jenkins/$NAME.pid
# user id to be invoked as (otherwise will run as root; not wise!)
JENKINS_USER=jenkins
# location of jenkins arch indep files
JENKINS_ROOT=/usr/share/jenkins
# jenkins home location
JENKINS_HOME=/var/lib/jenkins
# jenkins /run location
JENKINS_RUN=/var/run/jenkins
# URL of jenkins server to connect to
# Not specifying this parameter will stop the slave
# job from running.
#JENKINS_URL=""
# Name of slave configuration to use at JENKINS_URL
# Override if it need to be something other than the
# hostname of the server the slave is running on.
JENKINS_HOSTNAME="$(hostname)"
# Log file location for use in Debian init script
JENKINS_SLAVE_LOG=/var/log/jenkins/$NAME.log
# OS LIMITS SETUP
# comment this out to observe /etc/security/limits.conf
# this is on by default because http://github.com/feniix/hudson/commit/d13c08ea8f5a3fa730ba174305e6429b74853927
# reported that Ubuntu's PAM configuration doesn't include pam_limits.so, and as a result the # of file
# descriptors are forced to 1024 regardless of /etc/security/limits.confa
# NOTE - Ubuntu Users - this is not used by the upstart configuration - please use an upstart overrides file
# to change the OS limits setup.
MAXOPENFILES=8192
# Arguments to pass to jenkins slave on startup
JENKINS_ARGS="-jnlpUrl $JENKINS_URL/computer/$JENKINS_HOSTNAME/slave-agent.jnlp"
|