view host/renewSsl.sh @ 1798:f8eba0442956

use backticks
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 22 Feb 2024 08:08:07 -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;