/meta-ivi-common/recipes-connectivity/

+xml'/>
summaryrefslogtreecommitdiffstats
path: root/squid/entrypoint.sh
blob: 70bdf6e12c7af12e9267308f4581021fb1b02ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [ -e /var/run/squid.pid ];then
	#echo "DEBUG: Removed old squid PID"
	rm /var/run/squid.pid
fi

# Create cache FS
if [ ! -e /var/spool/squid/00 ];then
	squid -z || exit $?
fi
/usr/sbin/squid -NYC -f /etc/squid/squid.conf || exit $?