From 26cc005179760bd25b8bdd724a936847c81d24eb Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Wed, 25 Oct 2017 14:07:15 +0200 Subject: Add support for lavapdu --- lava-slave/scripts/start.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lava-slave/scripts') diff --git a/lava-slave/scripts/start.sh b/lava-slave/scripts/start.sh index dcbbcd7..c9645b3 100755 --- a/lava-slave/scripts/start.sh +++ b/lava-slave/scripts/start.sh @@ -10,6 +10,17 @@ service tftpd-hpa start || exit 4 rm -f /var/run/lava-slave.pid service lava-slave start || exit 5 +if [ -e /etc/lavapdu ];then + /etc/init.d/postgresql start || exit 6 + + echo "== Start lavapdu listen ==" + /etc/init.d/lavapdu-listen start || exit 7 + # lava listen create the database, let it some time + sleep 5 + echo "== Start lavapdu runner ==" + /etc/init.d/lavapdu-runner start || exit 8 +fi + touch /var/run/conmux-registry /usr/sbin/conmux-registry 63000 /var/run/conmux-registry& sleep 2 -- cgit 1.2.3-korg