linuxtool/Config/Automation/Installs/acme_update.sh
2024-09-26 10:53:51 +08:00

7 lines
144 B
Bash

declare path="$1"
cat > "${path}/acme_update.sh" << EOF
#!/bin/bash
${HOME}/.acme.sh/acme.sh --upgrade
${HOME}/.acme.sh/acme.sh --renew-all
EOF