view host/renewSsl.sh @ 1795:745f756e719b

make copy_to recursive
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 02 Jan 2024 21:49:54 -0700
parents 27a2530f04b6
children
line wrap: on
line source

#!/bin/bash

cd "$1";

ROOTPWD=$(pwd);

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

sudo /usr/local/bin/nginx -s reload;