From 81f19da7f3eb69483cf06d082819d37fad72e53f Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 20 Jan 2021 19:26:50 +0100 Subject: [PATCH] init_master.lua: check for find and awk too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit start_sockproc requires find: ``` bin/resty-auto-ssl/.start_sockproc-wrapped: line 31: find: command not found ``` … and dehydrated invokes awk. So check for both. --- lib/resty/auto-ssl/init_master.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/resty/auto-ssl/init_master.lua b/lib/resty/auto-ssl/init_master.lua index d7878d4..f9456b1 100644 --- a/lib/resty/auto-ssl/init_master.lua +++ b/lib/resty/auto-ssl/init_master.lua @@ -5,9 +5,11 @@ local str = require "resty.string" local function check_dependencies() local runtime_dependencies = { + "awk", "bash", "curl", "diff", + "find", "grep", "mktemp", "openssl",