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!
Explorar el Código

Better way for initial run of certbot

master
Stanislaw Adaszewski hace 4 años
padre
commit
a18eb75f47
Se han modificado 2 ficheros con 1 adiciones y 3 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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


Cargando…
Cancelar
Guardar