void-packages/srcpkgs/squid/files/cron.daily

5 lines
72 B
Bash

#!/bin/sh
if sv status squid | grep -q '^run'; then
squid -k rotate
fi