/etc/init/squid-deb-proxy.conf is in squid-deb-proxy 0.8.9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # squid-deb-proxy - a proxy for deb packages
#
description "squid-deb-proxy"
pre-start script
. /usr/share/squid-deb-proxy/init-common.sh
pre_start
end script
post-start script
. /usr/share/squid-deb-proxy/init-common.sh
post_start
end script
# if this is done in pre-stop "restart squid-deb-proxy" kills the
# file without putting a replacement in!
post-stop script
. /usr/share/squid-deb-proxy/init-common.sh
post_stop
end script
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
script
if [ -x /usr/sbin/squid ]; then
SQUID=/usr/sbin/squid
elif [ -x /usr/sbin/squid3 ]; then
SQUID=/usr/sbin/squid3
else
echo "No squid binary found"
exit 1
fi
exec $SQUID -N -f /etc/squid-deb-proxy/squid-deb-proxy.conf
end script
|