summaryrefslogtreecommitdiffstats
path: root/etc/default
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-31 15:02:29 +0100
committerHolger Levsen <holger@layer-acht.org>2014-10-31 15:02:29 +0100
commitdb07600d7da1718f4890b3482d208128a7524792 (patch)
treeb73c50609af5ff042b51eaca7d1206891fb1e7b7 /etc/default
parent6287169aa7f8bc13a375b1a20344424d65f5736c (diff)
downloadjenkins.debian.net-db07600d7da1718f4890b3482d208128a7524792.tar.xz
new defaults from jenkins 1.580-1
Diffstat (limited to 'etc/default')
-rw-r--r--etc/default/jenkins8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/default/jenkins b/etc/default/jenkins
index ab23df6b..d3fdb8f1 100644
--- a/etc/default/jenkins
+++ b/etc/default/jenkins
@@ -13,8 +13,9 @@ JAVA_ARGS="-Xmx2048m -XX:MaxPermSize=256m"
PIDFILE=/var/run/jenkins/jenkins.pid
-# user id to be invoked as (otherwise will run as root; not wise!)
+# user and group to be invoked as (default to jenkins)
JENKINS_USER=jenkins
+JENKINS_GROUP=jenkins
# location of the jenkins war file
JENKINS_WAR=/usr/share/jenkins/jenkins.war
@@ -38,6 +39,11 @@ JENKINS_LOG=/var/log/jenkins/$NAME.log
# descriptors are forced to 1024 regardless of /etc/security/limits.conf
MAXOPENFILES=8192
+# set the umask to control permission bits of files that Jenkins creates.
+# 027 makes files read-only for group and inaccessible for others. comment this out to inherit setting
+# (as of Ubuntu 12.04, by default umask comes from pam_umask(8) and /etc/login.defs
+UMASK=027
+
# port for HTTP connector (default 8080; disable with -1)
HTTP_PORT=8080