summaryrefslogtreecommitdiffstats
path: root/lava-master/scripts/start.sh
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-05-21 11:18:01 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-06-05 15:36:31 +0200
commit3588f8dc3fb68b3cc21178f3722e980dd9369d2a (patch)
treeac9a2eccf7c03f15e913e95b379ae1f86e1022e6 /lava-master/scripts/start.sh
parent31555bcb6555d080e7072fba2fc8ccda0fd59eaa (diff)
Upgrade to 2018.4
This patch upgrade lava-docker to LAVA 2018.4
Diffstat (limited to 'lava-master/scripts/start.sh')
-rwxr-xr-xlava-master/scripts/start.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/lava-master/scripts/start.sh b/lava-master/scripts/start.sh
index f4cc4eb..0e223b5 100755
--- a/lava-master/scripts/start.sh
+++ b/lava-master/scripts/start.sh
@@ -24,14 +24,14 @@ start () {
#remove lava-pid files incase the image is stored without first stopping the services
rm -f /var/run/lava-*.pid 2> /dev/null
-start postgresql
-start apache2
-start lava-server
-start lava-master
-start lava-coordinator
-start lava-slave
-start lava-server-gunicorn
-start tftpd-hpa
+/etc/init.d/postgresql start
+start apache2 || exit $?
+start lava-logs || exit $?
+start lava-master || exit $?
+start lava-coordinator || exit $?
+start lava-slave || exit $?
+start lava-server-gunicorn || exit $?
+start tftpd-hpa || exit $?
postgres-ready
service apache2 reload #added after the website not running a few times on boot