Mercurial Hosting > luan
view host/update.sh @ 2048:59f3a7f3d10b acme-tiny tip
add check for local_https in renewSsl.sh
| author | Violet7 |
|---|---|
| date | Tue, 11 Nov 2025 01:45:02 -0800 |
| parents | a4435e2e3417 |
| children |
line wrap: on
line source
#!/bin/bash set -e ./stop.sh echo Updating hg hg pull -u ../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 cp startup/nginx/mime.types local/mime.types # id -gn gets the name of the primary group of the current user (staff) luan startup/nginx/nginx.conf.luan $(pwd) $(whoami) $(id -gn) >local/nginx.conf luan startup/nginx/nginx.default.conf.luan $(pwd) >local/nginx.default.conf echo Starting... ./start.sh
