void-packages/srcpkgs/knot-resolver/files/kres-cache-gc/run

6 lines
178 B
Bash
Executable File

#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
install -d -m0755 -o _knot_resolver -g _knot_resolver /run/knot-resolver
exec kres-cache-gc ${OPTS:- -d 1000 -c /run/knot-resolver}