summaryrefslogtreecommitdiff
path: root/extra/squid/squid.cron
diff options
context:
space:
mode:
Diffstat (limited to 'extra/squid/squid.cron')
-rw-r--r--extra/squid/squid.cron4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/squid/squid.cron b/extra/squid/squid.cron
new file mode 100644
index 000000000..c2b5bc9ce
--- /dev/null
+++ b/extra/squid/squid.cron
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+PID=`pidof -o %PPID /usr/sbin/squid`
+[ -n "$PID" ] && /usr/sbin/squid -k rotate