view update.sh @ 2:40833a7cd29f

fix restart
author fffilimonov
date Thu, 12 May 2022 06:09:48 -0500
parents dfc36e7ed22c
children c560b4e2f056
line wrap: on
line source

#!/bin/bash -e

. common.sh;

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

./stop.sh

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

${ROOTPWD}/luan.sh update_repositories.luan

./start.sh