diff --git a/issue_cert b/issue_cert new file mode 100755 index 0000000..c90e82a --- /dev/null +++ b/issue_cert @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "$#" -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then + echo Usage: "$0" DOMAIN + exit 1 +fi + +acme.sh --issue --nginx -d "$@" diff --git a/run_motd b/run_motd new file mode 100755 index 0000000..de55199 --- /dev/null +++ b/run_motd @@ -0,0 +1,7 @@ +#!/bin/sh + +hash run-parts >/dev/null 2>&1 && run-parts /etc/update-motd.d/ && exit + +for f in /etc/update-motd.d/*; do + sh "$f" +done