view update.sh @ 16:50a1fe272c10

more security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 01 Oct 2023 21:36:34 -0600
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