projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56de46
)
Fix Metaproxy stops logging after check config failed MP-590
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 Jan 2015 13:56:53 +0000
(13:56 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 Jan 2015 13:57:09 +0000
(13:57 +0000)
rpm/metaproxy.logrotate
patch
|
blob
|
history
diff --git
a/rpm/metaproxy.logrotate
b/rpm/metaproxy.logrotate
index
aa4a91b
..
6f51bb2
100644
(file)
--- a/
rpm/metaproxy.logrotate
+++ b/
rpm/metaproxy.logrotate
@@
-5,6
+5,11
@@
compress
delaycompress
notifempty
+ prerotate
+ if [ -f /var/run/metaproxy.pid ]; then
+ /sbin/service metaproxy configtest > /dev/null
+ fi
+ endscript
postrotate
if [ -f /var/run/metaproxy.pid ]; then
/sbin/service metaproxy reload > /dev/null