comparison 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
comparison
equal deleted inserted replaced
1627:07be5015159d 1628:520707a70379
1 #!/bin/bash
2
3 set -e
4
5 ./stop.sh
6
7 echo Updating hg
8 #hg pull -u https://luanhost_update:njer2ndsBVG@hg.luan.software/luanhost
9 hg pull
10
11 ../scripts/build-luan.sh
12
13 mkdir -p local
14 mkdir -p logs
15 rm -f logs/*
16 hg identify >logs/changeset.txt
17
18 #cp startup/mime.types local/mime.types;
19 #./luan.sh startup/nginx.conf.luan $(pwd) $(whoami) $(id -gn) > local/nginx.conf
20 #./luan.sh startup/nginx.default.conf.luan $(pwd) $(whoami) $(id -gn) > local/nginx.default.conf
21
22 echo Starting...
23 ./start.sh