From db07600d7da1718f4890b3482d208128a7524792 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 31 Oct 2014 15:02:29 +0100 Subject: new defaults from jenkins 1.580-1 --- etc/default/jenkins | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'etc/default') 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 -- cgit v1.2.3-70-g09d2