[PATCH] uacme: start later in the boot process
Paul B
plblaze at blazebox.homeip.net
Sat Mar 12 09:43:44 PST 2022
Currently the acme init script starts too early in the boot process and even
with 5 seconds delay the script will, just silently exit. Due to network
interfeces, which may be still inititialzing and not (yet) be available
online `curl` will exit with a failure, it produces an error:
...
daemon.err run-uacme[1668]: uacme: curl_post: POST http://r3.o.lencr.org failed: Error
daemon.err run-uacme[1668]: uacme: curl_post: waiting 5 seconds before retrying
...
Let's move the acme init sequence, later into the boot process to give
it more time to properly function.
Signed-off-by: Paul B <plblaze at blazebox.homeip.net>
---
net/uacme/files/acme.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/uacme/files/acme.init b/net/uacme/files/acme.init
index f32a6ad18..db5923922 100644
--- a/net/uacme/files/acme.init
+++ b/net/uacme/files/acme.init
@@ -2,7 +2,7 @@
USE_PROCD=1
-START=50
+START=90
SCRIPT=/usr/share/uacme/run-uacme
start_service()
--
2.35.1
More information about the openwrt-devel
mailing list