Spotter-VM/basic/usr/local/bin/update-acme.sh

7 lines
240 B
Bash
Raw Normal View History

2018-03-25 22:50:18 +02:00
#!/bin/sh
mkdir -p /etc/acme.sh.d
wget https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh -O /usr/local/bin/acme.sh
sed -i 's/\$HOME\/.\$PROJECT_NAME/\/etc\/acme.sh.d/' /usr/local/bin/acme.sh
chmod +x /usr/local/bin/acme.sh