view update.sh @ 31:b688b17bbe6b

more nginx conf
author Violet7
date Tue, 19 May 2026 02:41:27 -0700
parents 49461857ed79
children
line wrap: on
line source

#!/bin/bash -e

. common.sh;

echo Updating hg
/usr/local/bin/hg pull -u

./stop.sh

mkdir -p logs/repos
rm -f logs/*.log
rm -f logs/repos/*_log
hg identify >logs/changeset.txt

${ROOTPWD}/luan.sh update_repositories.luan

./start.sh