Skip to content

Commit

Permalink
follow log
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Sep 27, 2024
1 parent 40c2748 commit 53cb609
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions loadKB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ chmod -R 777 /import || :
chmod -R 777 /var/lib/neo4j/plugins || :

#Output the query log to docker log:
tail -f /var/lib/neo4j/logs/query.log >/proc/1/fd/1 &
tail -f /var/lib/neo4j/logs/debug.log >/proc/1/fd/1 &
tail -f /var/lib/neo4j/logs/security.log >/proc/1/fd/1 &
tail --follow=name --retry /var/lib/neo4j/logs/query.log >/proc/1/fd/1 &
tail --follow=name --retry /var/lib/neo4j/logs/debug.log >/proc/1/fd/1 &
tail --follow=name --retry /var/lib/neo4j/logs/security.log >/proc/1/fd/1 &

sleep 4m && cypher-shell -u neo4j -p ${NEO4J_AUTH/neo4j\//} -d system 'START DATABASE neo4j'
exec /docker-entrypoint.sh neo4j

0 comments on commit 53cb609

Please sign in to comment.