mastible/roles/mastodon-nginx/files/letsencrypt-renew.sh

5 lines
77 B
Bash

#!/usr/bin/env bash
service nginx stop
letsencrypt renew
service nginx start