view host/renewSsl.sh @ 1758:27a2530f04b6

fix reload nginx from startup script
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 20 Feb 2023 09:02:20 +0200
parents 0344a535b1db
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;