uacme: add support for user-provided setup and cleanup scripts

Add possibility for user to provide setup and cleanup scripts for
additional flexibility. Setup-script takes precedence over the built-in
behavior of uacme.

This helps users with more complex use-cases to utilize uacme to update
certificates without adding complexity to the provided run.sh script.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
This commit is contained in:
Antti Seppälä
2020-04-18 22:58:42 +03:00
parent debe65dffe
commit cf6027f0b0
3 changed files with 20 additions and 2 deletions
+2
View File
@@ -11,4 +11,6 @@ config cert 'example'
option update_nginx 1
option update_haproxy 1
option webroot "/www/.well-known/acme-challenge"
# option user_setup "path-to-custom-setup.script"
# option user_cleanup "path-to-custom-cleanup.script"
list domains example.org