Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from choffmeister/master
Browse files Browse the repository at this point in the history
Ensure log file are present before tailing them
  • Loading branch information
Feng Honglin committed May 12, 2015
2 parents 060a4cc + 843878f commit 7bdaeec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if [ ! -f /.riak_password_set ]; then
fi

# Print riak logs to stdout
touch /var/log/riak/{console,crash,error}.log
tail -F /var/log/riak/*.log &

fg %1

0 comments on commit 7bdaeec

Please sign in to comment.