mastodon-docker-stack/certbot.sh

9 lines
177 B
Bash

#!/bin/bash
apt update
apt install snapd -y
snap install core
snap refresh core
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
certbot certonly --nginx