summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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