IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Yet better way of initial run of certbot.

master
parent
commit
9014c5831f
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      example/gateway/focker-compose.yml

+ 6
- 3
example/gateway/focker-compose.yml View File

@@ -35,9 +35,12 @@ jails:
certbot-data: /usr/local/etc/letsencrypt
certbot-webroot: /certbot/webroot
exec.start: |
rm -vf /usr/local/etc/letsencrypt/.ready && \
( ( /usr/local/bin/python3 /certbot/scripts/certbot.py && \
touch /usr/local/etc/letsencrypt/.ready ) & ) && \
if [ ! -f /certbot/data/.ready ]; then
rm -vf /usr/local/etc/letsencrypt/.ready && \
/usr/local/bin/python3 /certbot/scripts/certbot.py && \
touch /usr/local/etc/letsencrypt/.ready && \
touch /certbot/data/.ready;
fi && \
/bin/sh /etc/rc
ip4.addr: 127.0.13.1


Loading…
Cancel
Save