acme: 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 acme.

This helps users with more complex use-cases to utilize acme 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:57:04 +03:00
parent b017fe34dd
commit debe65dffe
3 changed files with 20 additions and 2 deletions
+2
View File
@@ -11,4 +11,6 @@ config cert 'example'
option update_nginx 1
option webroot ""
option dns ""
# option user_setup "path-to-custom-setup.script"
# option user_cleanup "path-to-custom-cleanup.script"
list domains example.org