Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor

Christian Bauera543f4e4ebdb
diff --git a/letsencrypt/entrypoint.sh b/letsencrypt/entrypoint.sh
index f0969a8b7..679701810 100644
--- a/letsencrypt/entrypoint.sh
+++ b/letsencrypt/entrypoint.sh
@@ -1,6 +1,8 @@
#!/bin/bash
-crond
+if ! [ -f /var/run/crond.pid ]; then
+ crond
+fi
if [ -n "${LE_EMAIL}" ]; then
LE_EXTRA_ARGS+=" --email ${LE_EMAIL}"
@@ -90,7 +92,7 @@ function renew {
fi
done
- ${LE_CMD} --renew-by-default ${DOMAIN_ARGS}
+ ${LE_CMD} --renew-by-default --expand ${DOMAIN_ARGS}
LE_RESULT=$?