jenkinsci/jenkins — pull request #1397 by OEP (2014-09-17 21:16:06+00:00)
Title: Explicitly set the umask for daemon in Debian init script

As discovered by danielbeck in #jenkins, daemon(1) does not inherit the parent
process's umask. The --umask flag is the means to set it explicitly.

Here I assumed $UMASK will always be set in `/etc/default/jenkins` since it is there in the stock version and it seems to be the norm elsewhere.

If this PR is accepted, one could make the argument that the calls to "umask" are no longer needed further down in the init script.