view update.sh @ 19:a90e510ccc4f

fix restart/move logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 05 Aug 2024 11:29:06 +0300
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