#!/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}