void-packages/srcpkgs/knot/files/knotd/run

6 lines
111 B
Bash

#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
install -d -m0755 -o _knot -g _knot /run/knot
exec knotd ${OPTS}