blob: 23bb9d137079c22123bb9aac2c5c749657d49548 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
#Expire old cached objects
kill -USR1 $(cat /var/run/polipo.pid)
sleep 1
nice -n 15 su -s "/bin/sh" -c "polipo -x" polipo > /dev/null
kill -USR2 $(cat /var/run/polipo.pid)
|