summaryrefslogtreecommitdiffstats
path: root/lava-master/entrypoint.d/01_setup.sh
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2019-10-04 07:35:05 -0700
committerGitHub <noreply@github.com>2019-10-04 07:35:05 -0700
commitd7360d5899d7a4cc701634fbb6e3b6d5606dc04b (patch)
tree02c8c3541667d7d15071ca8e8942954ddab66440 /lava-master/entrypoint.d/01_setup.sh
parent8ebcea50e12756580560b4b6578ad3979682ea59 (diff)
parent4760b0d2372ca68275296e86aa6cfc1f731cd543 (diff)
Merge pull request #104 from montjoie/2019.09
2019.09
Diffstat (limited to 'lava-master/entrypoint.d/01_setup.sh')
-rwxr-xr-xlava-master/entrypoint.d/01_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lava-master/entrypoint.d/01_setup.sh b/lava-master/entrypoint.d/01_setup.sh
index be950b7..4755bc4 100755
--- a/lava-master/entrypoint.d/01_setup.sh
+++ b/lava-master/entrypoint.d/01_setup.sh
@@ -14,7 +14,7 @@ fi
if [ -e /root/backup/db_lavaserver ];then
echo "Restore database from backup"
sudo -u postgres psql < /root/backup/db_lavaserver || exit $?
- lava-server manage migrate || exit $?
+ yes yes | lava-server manage migrate || exit $?
echo "Restore jobs output from backup"
rm -r /var/lib/lava-server/default/media/job-output/*
tar xzf /root/backup/joboutput.tar.gz || exit $?