提交 9ef1a11c 编写于 作者: O Olav Reinert 提交者: Kohsuke Kawaguchi

5784: Fixed a log rotation configuration problem on openSUSE.

上级 b11f2c3c
......@@ -79,6 +79,9 @@ Upcoming changes</a>
<li class=bug>
Fix expansion of builtin environment variables in Ant properties on Windows.
(<a href="http://issues.jenkins-ci.org/browse/JENKINS-7442">issue 7442</a>)
<li class=bug>
Fixed a log rotation configuration problem on openSUSE.
(<a href="http://issues.jenkins-ci.org/browse/JENKINS-5784">issue 5784</a>)
<li class=rfe>
Change prefix of BUILD_TAG variable to "jenkins-"
<li class=rfe>
......
......@@ -8,6 +8,10 @@
missingok
create 644
postrotate
kill -s SIGALRM `cat /var/run/jenkins.pid`
# NB: no dependencies to configuration in /etc/sysconfig/jenkins
if [ -s /var/run/jenkins.pid ]; then
JPID=`cat /var/run/jenkins.pid`
test -n "`find /proc/$JPID -maxdepth 0 -user jenkins 2>/dev/null`" && kill -s ALRM $JPID || :
fi
endscript
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册