Skip to content
This repository has been archived by the owner on Aug 25, 2019. It is now read-only.

fixes letsencrypt autorenew PythonDialogBug issue #55

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 15-https
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ if [ "$SSL_TYPE" == "letsencrypt" ]; then

if [ ! -f /is-baking ]; then
# Perform the Let's Encrypt certificate issuance
/srv/letsencrypt/letsencrypt-auto certonly --keep --debug --agree-tos --webroot -w /srv/letsencrypt-webroot --email $SSL_EMAIL -d $PHABRICATOR_HOST
/srv/letsencrypt/letsencrypt-auto certonly --text --non-interactive --keep --debug --agree-tos --webroot -w /srv/letsencrypt-webroot --email $SSL_EMAIL -d $PHABRICATOR_HOST
fi

if [ ! -f /baked ]; then
# Add Let's Encrypt issuance to cron.weekly
cat >/etc/cron.weekly/letsencrypt <<EOF
#!bin/bash

/srv/letsencrypt/letsencrypt-auto certonly --keep --debug --agree-tos --webroot -w /srv/letsencrypt-webroot --email $SSL_EMAIL -d $PHABRICATOR_HOST
/srv/letsencrypt/letsencrypt-auto certonly --text --non-interactive --keep --debug --agree-tos --webroot -w /srv/letsencrypt-webroot --email $SSL_EMAIL -d $PHABRICATOR_HOST
EOF
chmod a+x /etc/cron.weekly/letsencrypt

Expand Down