Debian packaging: Only reload varnishlog if it is running.

(Debian bug #462029)


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2359 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 0f4a0130
......@@ -4,6 +4,8 @@
compress
delaycompress
postrotate
/usr/sbin/invoke-rc.d varnishlog reload > /dev/null
if /usr/bin/pgrep -P 1 varnishlog >/dev/null; then
/usr/sbin/invoke-rc.d varnishlog reload > /dev/null
fi
endscript
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment