From: Adam Dickmeiss Date: Mon, 26 Jan 2015 13:56:53 +0000 (+0000) Subject: Fix Metaproxy stops logging after check config failed MP-590 X-Git-Tag: v1.8.2~5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=586d78659d671683f33ec55f4a7d32b28e345ccd;p=metaproxy-moved-to-github.git Fix Metaproxy stops logging after check config failed MP-590 --- diff --git a/rpm/metaproxy.logrotate b/rpm/metaproxy.logrotate index aa4a91b..6f51bb2 100644 --- 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