Skip to content

Commit 7af682b

Browse files
author
Mark
committed
fixed travis setup script
1 parent 1b8be1e commit 7af682b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/travis/setup_arangodb.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ ${ARANGOD} \
3636
--javascript.startup-directory ${ARANGODB_DIR}/js \
3737
--server.authentication=true &
3838

39+
ARANGOD_PID="$!"
40+
echo "pid is $ARANGOD_PID"
41+
trap "echo 'shutting down arangod'; kill -TERM $ARANGOD_PID; sleep 5" exit TERM HUP INT
42+
3943
sleep 2
4044

4145
echo "Check for arangod process"

0 commit comments

Comments
 (0)