This commit is contained in:
ge 2023-04-24 20:22:28 +03:00
parent 8d994f6c6f
commit 88547502dc
2 changed files with 15 additions and 0 deletions

8
issue_cert Executable file
View File

@ -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 "$@"

7
run_motd Executable file
View File

@ -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