summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compose.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/compose.yaml b/compose.yaml
index 5f824c0..41d1562 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -29,8 +29,8 @@ services:
- |
while :; do
if [ -n "$INWX_USERNAME" ] && [ -n "$INWX_PASSWORD" ]; then
- /lego --path=/certs --email="$LEGO_EMAIL" --dns=inwx \
- --domains="$LEGO_DOMAIN" --accept-tos run --days 30 || true
+ /lego run --path=/certs --email="$LEGO_EMAIL" --dns=inwx \
+ --domains="$LEGO_DOMAIN" --accept-tos --renew-days=30 || true
chown -R 10001:10001 /certs || true
else
echo "certs: set INWX_USERNAME and INWX_PASSWORD in .env"