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

6 lines
144 B
Bash

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