void-packages/srcpkgs/knot-resolver/files/kresd/run

5 lines
134 B
Bash

#!/bin/sh
[ -r ./conf ] && . ./conf
install -d -m0755 -o _knot_resolver -g _knot_resolver /run/knot-resolver
exec kresd ${OPTS:--f 1}