Mercurial Hosting > luan
diff host/update.sh @ 1628:520707a70379
add host
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 07 Dec 2021 23:29:58 -0700 |
parents | |
children | 124887e02dab |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host/update.sh Tue Dec 07 23:29:58 2021 -0700 @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +./stop.sh + +echo Updating hg +#hg pull -u https://luanhost_update:njer2ndsBVG@hg.luan.software/luanhost +hg pull + +../scripts/build-luan.sh + +mkdir -p local +mkdir -p logs +rm -f logs/* +hg identify >logs/changeset.txt + +#cp startup/mime.types local/mime.types; +#./luan.sh startup/nginx.conf.luan $(pwd) $(whoami) $(id -gn) > local/nginx.conf +#./luan.sh startup/nginx.default.conf.luan $(pwd) $(whoami) $(id -gn) > local/nginx.default.conf + +echo Starting... +./start.sh