Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 459 Bytes

shell.md

File metadata and controls

17 lines (13 loc) · 459 Bytes

Post Issuing Hook: Shell

Execute specified command on a shell. Environment variable ${COMMON_NAME} is available.

post_issuing_hooks:
  "test.example.com":
    - shell:
        command: mail -s "New cert for ${COMMON_NAME} has been issued" [email protected] < /dev/null
    - shell:
        command: touch /tmp/certs-has-been-issued-${COMMON_NAME}
  "admin.example.com":
    - shell:
        command: /usr/bin/dosomethingelse ${COMMON_NAME}