diff options
author | Giorgio Peron <giorgio.peron@gmail.com> | 2012-07-28 23:02:12 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-07-28 23:02:12 -0500 |
commit | 22e45a74065bbc2cfaa790890ff09ad59ef374cf (patch) | |
tree | 75281d2278fb01da7005fa6597ec51a85089a1f2 /system/jenkins/files | |
parent | 0661cd016bcd4c889920bc13d2cb652886b222cb (diff) | |
download | slackbuilds-22e45a74065bbc2cfaa790890ff09ad59ef374cf.tar.gz |
system/jenkins: Updated for version 1.474.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/jenkins/files')
-rw-r--r-- | system/jenkins/files/jenkinsd.sh | 4 | ||||
-rw-r--r-- | system/jenkins/files/logrotate.jenkins | 3 | ||||
-rw-r--r-- | system/jenkins/files/rc.jenkins | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/system/jenkins/files/jenkinsd.sh b/system/jenkins/files/jenkinsd.sh index f10ed4f9ab..87d6aa432a 100644 --- a/system/jenkins/files/jenkinsd.sh +++ b/system/jenkins/files/jenkinsd.sh @@ -29,7 +29,7 @@ JENKINS_LOG_FILE="/var/log/jenkins/jenkins.log" JENKINS_CONSOLELOG_FILE="/var/log/jenkins/jenkins_console.log" JENKINS_PID_DIR="/var/run/jenkins/" JENKINS_PID_FILE="$JENKINS_PID_DIR/jenkins.pid" -JENKINS_WEBAPPSDIR="/var/lib/jenkins/apps/" +#JENKINS_WEBAPPSDIR="/var/lib/jenkins/apps/" JENKINS_WEBROOT="/var/lib/jenkins/webroot/" JENKINS_HOME="/var/lib/jenkins" OPT_ARGS="" @@ -84,7 +84,7 @@ if [ "$JENKINS_LOG_FILE" != "" ] ; then fi if [ "$JENKINS_WEBAPPSDIR" != "" ] ; then - JENKINS_WEBAPPSDIR_ARG="--webapssDir=$JENKINS_WEBAPPSDIR" + JENKINS_WEBAPPSDIR_ARG="--webappsDir=$JENKINS_WEBAPPSDIR" fi if [ "$JENKINS_WEBROOT" != "" ] ; then diff --git a/system/jenkins/files/logrotate.jenkins b/system/jenkins/files/logrotate.jenkins index f6b40db07b..f1bc7f0f11 100644 --- a/system/jenkins/files/logrotate.jenkins +++ b/system/jenkins/files/logrotate.jenkins @@ -1,4 +1,5 @@ /var/log/jenkins/jenkins.log /var/log/jenkins/jenkins_console.log { + su jenkins jenkins compress dateext maxage 365 @@ -8,6 +9,6 @@ missingok create 644 postrotate - kill -s SIGALRM `cat /var/run/jenkins.pid` + kill -s SIGALRM $(cat /var/run/jenkins.pid) endscript } diff --git a/system/jenkins/files/rc.jenkins b/system/jenkins/files/rc.jenkins index d13e3912aa..3d83b42444 100644 --- a/system/jenkins/files/rc.jenkins +++ b/system/jenkins/files/rc.jenkins @@ -36,6 +36,7 @@ jenkins_start() { exit 1 else echo "Starting jenkins daemon..." + install -o jenkins:jenkins -m 0755 -d /var/run/jenkins jenkinsd 2>/dev/null 1>&2 || exit 1 fi } |