| 1628 | 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 |