In file /etc/conf.d/jenkins, I'm adding a JVM property to boot Jenkins with: > JENKINS_JAVA_OPTIONS="-Dhudson.model.DirectoryBrowserSupport.CSP=\"style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; img-src data:;\" -Djava.awt.headless=true" With it, I can't start Jenkins service anymore: > $ service jenkins restart > $ rc-service jenkins status > * status: crashed However, starting plain Jenkins with the same args works: > $ java -Dhudson.model.DirectoryBrowserSupport.CSP="style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; img-src data:;" -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins/home -jar /opt/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20