/etc/cron.daily/polipo is in polipo 1.0.4.1-1.2.
This file is owned by root:root, with mode 0o755.
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 | #!/bin/sh
set -e
FORBIDDEN_FILE=/etc/polipo/forbidden
CONFIG_FILE=/etc/polipo/config
if [ ! -x /usr/bin/polipo ]; then
exit 0
fi
if [ ! -f $FORBIDDEN_FILE ]; then
FORBIDDEN_FILE=/dev/null
fi
PIDFILE=/var/run/polipo/polipo.pid
[ -f "$PIDFILE" ] && kill -USR1 $(cat "$PIDFILE")
su -c \
"nice polipo -x -c $CONFIG_FILE forbiddenFile=$FORBIDDEN_FILE > /dev/null" \
proxy
[ -f "$PIDFILE" ] && kill -USR2 $(cat "$PIDFILE")
|