From 9c01038ab5cbd1a92e0a172a1834028b7862099f Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Thu, 3 Feb 2011 23:49:37 -0800 Subject: [PATCH] [FIXED JENKINS-5784] logrotate script for RPM/openSUSE bug fix --- changelog.html | 3 +++ opensuse/SOURCES/jenkins.logrotate | 2 +- rpm/SOURCES/jenkins.logrotate | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/changelog.html b/changelog.html index e83fd526fb..0734e383f0 100644 --- a/changelog.html +++ b/changelog.html @@ -52,6 +52,9 @@ Upcoming changes
  • Fixed a JVM dependency in debian package so that it can run with OpenJDK (issue 8159) +
  • + Fixed a log rotation configuration problem on Red Hat + (issue 5784)
  • Debian package will force-terminate Jenkins if it fails to shut down in 5 seconds. (issue 5415) diff --git a/opensuse/SOURCES/jenkins.logrotate b/opensuse/SOURCES/jenkins.logrotate index 87abc8c043..6554a1941b 100644 --- a/opensuse/SOURCES/jenkins.logrotate +++ b/opensuse/SOURCES/jenkins.logrotate @@ -8,6 +8,6 @@ missingok create 644 postrotate - kill -SIGALRM `cat /var/run/jenkins.pid` + kill -s SIGALRM `cat /var/run/jenkins.pid` endscript } diff --git a/rpm/SOURCES/jenkins.logrotate b/rpm/SOURCES/jenkins.logrotate index 25df3ddd3e..8e6c00964b 100644 --- a/rpm/SOURCES/jenkins.logrotate +++ b/rpm/SOURCES/jenkins.logrotate @@ -8,6 +8,6 @@ missingok create 644 postrotate - kill -SIGALRM `cat /var/run/jenkins.pid` + kill -s SIGALRM `cat /var/run/jenkins.pid` endscript } -- GitLab