Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Wait if config is not yet present
Browse files Browse the repository at this point in the history
  • Loading branch information
matschaffer committed Jun 15, 2015
1 parent 68f02a2 commit bcba8f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions start
Expand Up @@ -2,4 +2,9 @@

set -e

while ! [ -f /heka/hekad.toml ]; do
echo "Waiting for /heka/hekad.toml..."
sleep 1
done

exec hekad -config /heka/hekad.toml

0 comments on commit bcba8f4

Please sign in to comment.