view renewSsl.sh @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children
line wrap: on
line source

#!/bin/bash

set -e

cd "$1";

ROOTPWD=$(pwd);

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

sudo $(which nginx) -s reload;