Skip to content

Commit

Permalink
Add a sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud authored Oct 26, 2020
1 parent 058c1c9 commit 8039c9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions virtuoso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ if [ "$SPARQL_UPDATE" = "true" ]; then echo "GRANT SPARQL_UPDATE to \"SPARQL\";"
virtuoso-t +wait && isql-v -U dba -P dba < /virtuoso/dump_nquads_procedure.sql && isql-v -U dba -P dba < /sql-query.sql
kill $(ps ax | egrep '[v]irtuoso-t' | awk '{print $1}')

# Make sure killing is done
sleep 2

# Load data
if [ -d "toLoad" ] ;
then
Expand Down

0 comments on commit 8039c9d

Please sign in to comment.