diff update.sh @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children c560b4e2f056
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/update.sh	Thu May 12 13:51:59 2022 +0400
@@ -0,0 +1,16 @@
+#!/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