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

Better way for initial run of certbot

master
parent
commit
a18eb75f47
2 changed files with 1 additions and 3 deletions
  1. +1
    -0
      example/gateway/certbot/files/crontab_nobody
  2. +0
    -3
      example/gateway/focker-compose.yml

+ 1
- 0
example/gateway/certbot/files/crontab_nobody View File

@@ -1 +1,2 @@
@reboot /usr/local/bin/python3 /certbot/scripts/certbot.py >/dev/null 2>&1
@weekly /usr/local/bin/certbot renew --webroot -w /certbot/webroot --server https://127.0.11.1:14000 --no-verify-ssl -n --agree-tos >/dev/null 2>&1

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

@@ -33,9 +33,6 @@ jails:
mounts:
certbot-data: /usr/local/etc/letsencrypt
certbot-webroot: /certbot/webroot
exec.start: |
( /usr/bin/su -m nobody -c "python3 /certbot/scripts/certbot.py" && \
/bin/sh /etc/rc ) &
nginx-https:
image: nginx-https


Loading…
Cancel
Save