linuxtool/Config/Automation/Installs/acme_update.sh

7 lines
166 B
Bash

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