~ubuntu-branches/debian/sid/squid-deb-proxy/sid

« back to all changes in this revision

Viewing changes to debian/squid-deb-proxy.upstart

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-01-26 09:19:50 UTC
  • Revision ID: james.westby@ubuntu.com-20100126091950-uipd3jxwtyb4qa9e
Tags: 0.2.2
* mirror-dstdomain.acl:
  - add security.ubuntu.com to the allowed destdomains

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# squid-deb-proxy - a proxy for deb packages
 
2
#
 
3
 
 
4
description "squid-deb-proxy"
 
5
 
 
6
pre-start script
 
7
  install -d -o proxy -g proxy -m 750 /var/cache/squid-deb-proxy/
 
8
  install -d -o proxy -g proxy -m 750 /var/log/squid-deb-proxy/
 
9
  if [ ! -d /var/cache/squid-deb-proxy/00 ]; then
 
10
   squid -z -f /etc/squid-deb-proxy/squid-deb-proxy.conf
 
11
  fi
 
12
end script
 
13
 
 
14
start on runlevel [2345]
 
15
stop on runlevel [!2345]
 
16
 
 
17
expect fork
 
18
exec squid -f /etc/squid-deb-proxy/squid-deb-proxy.conf
 
 
b'\\ No newline at end of file'