certbot: add possibility to specify commands to run on new certs

This makes it possible to e.g. reload nginx when new certificates are
present.
This commit is contained in:
June 2024-01-28 03:29:39 +01:00
commit 95a3901935
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
5 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,4 @@
#!/bin/bash
{% for command in certbot__new_cert_commands %}
{{ command }}
{% endfor %}