Mercurial Hosting > luan
view host/update2.sh @ 2138:5cf7c6b1dec9 nginx_decoupled
minor fix
| author | Violet7 |
|---|---|
| date | Mon, 19 Jan 2026 20:27:02 -0800 |
| parents | 3ca8f933209d |
| children |
line wrap: on
line source
#!/bin/bash set -e ../scripts/build-luan.sh mkdir -p local mkdir -p logs rm -f logs/* hg identify >logs/changeset.txt if [ ! -f local/tiny_account.key ]; then echo "Register letsencrypt (tiny-acme)" openssl genrsa 4096 >local/tiny_account.key fi ./gen_nginx.sh # this is done because the nginx conf uses absolute paths # and this breaks sites when the luan/host directory is moved luan classpath:luan/host/update.luan echo "(re)Starting..." ./restart.sh
