view 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 source

#!/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