Mercurial Hosting > luan
view host/renewSsl.sh @ 1648:224af797b1f9
Mainly small install script improvements
- Consistent usage of `$LUANHOME`, removed reliance on current directory.
- Made Luan build and install fine (on Linux) without requiring launching it via sudo. Only asks to elevate privileges if installation failed.
- Minor spelling mistake fix.
author | Fox |
---|---|
date | Mon, 28 Mar 2022 18:00:12 +0200 |
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;