Mercurial Hosting > luan
view host/update2.sh @ 2136:3ca8f933209d nginx_decoupled
Initial; use ~/.nginx-luan/ as nginx master conf dir instead of trying to detect the system default.
| author | Violet7 |
|---|---|
| date | Mon, 19 Jan 2026 19:47:11 -0800 |
| parents | de3107eb911f |
| 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
