Skip to content

Commit

Permalink
allow acmettol to not be present durinig initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
hpk42 committed Jul 8, 2024
1 parent 039ef7c commit fbc9a8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmdeploy/src/cmdeploy/remote_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ def get_systemd_running():
def perform_initial_checks(mail_domain):
res = {}

res["acme_account_url"] = shell("acmetool account-url")
try:
res["acme_account_url"] = shell("acmetool account-url")
except subprocess.CalledProcessError:
res["acme_account_url"] = "notset"

shell("apt-get install -y dnsutils")
shell("unbound-control flush_zone {mail_domain}")

Expand Down

0 comments on commit fbc9a8a

Please # to comment.