Commit 409388cf authored by Dag-Erling Smørgrav's avatar Dag-Erling Smørgrav
Browse files

Fix post-start check when unbound.conf has moved.

Reported by:	phk@
MFC after:	1 week
parent e5f02c14
......@@ -106,7 +106,7 @@ local_unbound_poststart()
local retry=5
echo -n "Waiting for nameserver to start..."
until "${command}-control" status | grep -q "is running" ; do
until "${command}-control" -c "${local_unbound_config}" status | grep -q "is running" ; do
if [ $((retry -= 1)) -eq 0 ] ; then
echo " giving up"
return 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment