Merge lp:~sdeziel/squid-deb-proxy/fix-for-lp984806 into lp:squid-deb-proxy

Proposed by Simon Déziel
Status: Merged
Merged at revision: 66
Proposed branch: lp:~sdeziel/squid-deb-proxy/fix-for-lp984806
Merge into: lp:squid-deb-proxy
Diff against target: 20 lines (+10/-1)
1 file modified
debian/squid-deb-proxy.logrotate (+10/-1)
To merge this branch: bzr merge lp:~sdeziel/squid-deb-proxy/fix-for-lp984806
Reviewer Review Type Date Requested Status
squid-deb-proxy-developers Pending
Review via email: mp+102522@code.launchpad.net

Description of the change

Fix for LP #984806

3rd and hopefully last proposal attempt. I'm really sorry for all the noise.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/squid-deb-proxy.logrotate'
2--- debian/squid-deb-proxy.logrotate 2011-03-23 20:52:34 +0000
3+++ debian/squid-deb-proxy.logrotate 2012-04-18 14:03:21 +0000
4@@ -10,6 +10,15 @@
5 nocreate
6 sharedscripts
7 postrotate
8- test ! -e /var/run/squid-deb-proxy.pid || /usr/sbin/squid -f /etc/squid-deb-proxy/squid-deb-proxy.conf -k rotate
9+ if [ -x /usr/sbin/squid ]; then
10+ SQUID=/usr/sbin/squid
11+ elif [ -x /usr/sbin/squid3 ]; then
12+ SQUID=/usr/sbin/squid3
13+ else
14+ echo "No squid binary found"
15+ exit 1
16+ fi
17+
18+ test ! -e /var/run/squid-deb-proxy.pid || $SQUID -f /etc/squid-deb-proxy/squid-deb-proxy.conf -k rotate
19 endscript
20 }

Subscribers

People subscribed via source and target branches

to all changes: