r2362 - in branches/1.1: . debian
ssm at projects.linpro.no
ssm at projects.linpro.no
Tue Jan 22 09:37:46 CET 2008
Author: ssm
Date: 2008-01-22 09:37:45 +0100 (Tue, 22 Jan 2008)
New Revision: 2362
Modified:
branches/1.1/
branches/1.1/debian/changelog
branches/1.1/debian/varnish.logrotate
Log:
Merged revisions 2359,2361 via svnmerge from
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache
........
r2359 | ssm | 2008-01-22 09:28:18 +0100 (Tue, 22 Jan 2008) | 3 lines
Debian packaging: Only reload varnishlog if it is running.
(Debian bug #462029)
........
r2361 | ssm | 2008-01-22 09:36:07 +0100 (Tue, 22 Jan 2008) | 1 line
Debian packaging: update changelog
........
Property changes on: branches/1.1
___________________________________________________________________
Name: svnmerge-integrated
- /trunk/varnish-cache:1-1722,1727-1729,1733,1738,1743-1777,1779-1798,1800-1815,1817,1819,1823,1830-1838,1846,1853-1855,1857-1859,1862,1865-1868,1871-1880,1883-1884,1886,1888-1889,1896,1898,1902-1905,1907,1909,1912-1916,1920-1928,1935-1939,1941-1949,1955,1957-1958,1967-1968,1970-1974,1976-1977,1984,1986-1989,1991-1998,2026,2031-2033,2057,2077-2080,2086,2088,2097,2106-2107,2116,2133,2154,2173,2181,2206-2207,2211-2212,2215-2245,2256-2262,2270-2271,2275,2285-2286,2288-2291,2295-2301,2306,2310,2313-2314,2316,2318,2320,2322,2324,2357
+ /trunk/varnish-cache:1-1722,1727-1729,1733,1738,1743-1777,1779-1798,1800-1815,1817,1819,1823,1830-1838,1846,1853-1855,1857-1859,1862,1865-1868,1871-1880,1883-1884,1886,1888-1889,1896,1898,1902-1905,1907,1909,1912-1916,1920-1928,1935-1939,1941-1949,1955,1957-1958,1967-1968,1970-1974,1976-1977,1984,1986-1989,1991-1998,2026,2031-2033,2057,2077-2080,2086,2088,2097,2106-2107,2116,2133,2154,2173,2181,2206-2207,2211-2212,2215-2245,2256-2262,2270-2271,2275,2285-2286,2288-2291,2295-2301,2306,2310,2313-2314,2316,2318,2320,2322,2324,2357,2359,2361
Modified: branches/1.1/debian/changelog
===================================================================
--- branches/1.1/debian/changelog 2008-01-22 08:36:07 UTC (rev 2361)
+++ branches/1.1/debian/changelog 2008-01-22 08:37:45 UTC (rev 2362)
@@ -1,8 +1,10 @@
varnish (1.1.2-1) unstable; urgency=low
* Add debian revision
+ * Check if varnishlog is running before attempting reload from
+ logrotate postscript (Closes: #462029)
- -- Stig Sandbeck Mathisen <ssm at fnord.no> Mon, 21 Jan 2008 20:00:54 +0100
+ -- Stig Sandbeck Mathisen <ssm at fnord.no> Tue, 22 Jan 2008 09:35:05 +0100
varnish (1.1.2) unstable; urgency=low
Modified: branches/1.1/debian/varnish.logrotate
===================================================================
--- branches/1.1/debian/varnish.logrotate 2008-01-22 08:36:07 UTC (rev 2361)
+++ branches/1.1/debian/varnish.logrotate 2008-01-22 08:37:45 UTC (rev 2362)
@@ -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
}
More information about the varnish-commit
mailing list