annotate backup/update.sh @ 1736:a02a75e3daa8

webserver error handling
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2022 11:44:23 -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