view host/renewSsl.sh @ 1697:aff2309ae510

add copy_backups.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 27 Jun 2022 18:36:56 -0600
parents 0344a535b1db
children 27a2530f04b6
line wrap: on
line source

#!/bin/bash

set -e

cd "$1";

ROOTPWD=$(pwd);

./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config;

sudo $(which nginx) -s reload;