squid-deb-proxy/start.sh

14 lines
330 B
Bash
Raw Normal View History

2014-08-18 16:22:46 +00:00
#!/bin/sh
# Advertise the availability of the cache.
avahi-daemon -D
# Necessary because squid forks itself to an unprivileged process.
2014-08-18 16:22:46 +00:00
chown -R proxy.proxy /cachedir
chown proxy.proxy /dev/stdout
2014-08-18 16:22:46 +00:00
. /usr/share/squid-deb-proxy/init-common.sh
pre_start
post_start
2014-08-18 16:22:46 +00:00
/usr/sbin/squid3 -N -f /etc/squid-deb-proxy/squid-deb-proxy.conf