annotate backup/update.sh @ 1827:50e570b598b2

security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 15 Sep 2024 10:36:46 -0600
parents 25833dd89844
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1695
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 #!/bin/bash
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 set -e
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 ./stop.sh
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 echo Updating hg
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 hg pull -u
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 ../scripts/build-luan.sh
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 echo Starting...
25833dd89844 add backup/update.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 ./start.sh