Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Apr 10, 2020
1 parent 1f14fce commit 24170b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions package/sbin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ echo syslog-ng starting
/opt/syslog-ng/sbin/syslog-ng $@ &
pid="$!"
# wait forever
while true
do
tail -f /dev/null & wait ${!}
done
if [[ $@ != *"-s"* ]]; then
while true
do
tail -f /dev/null & wait ${!}
done
fi

0 comments on commit 24170b9

Please sign in to comment.