Merge pull request #1644 from mmerickel/watch-events-logrotate
watch dokku events through a logrotate
This commit is contained in:
@@ -7,7 +7,7 @@ case "$1" in
|
|||||||
events)
|
events)
|
||||||
if [[ -f $DOKKU_EVENTS_LOGFILE ]]; then
|
if [[ -f $DOKKU_EVENTS_LOGFILE ]]; then
|
||||||
if [[ $2 == "-t" ]]; then
|
if [[ $2 == "-t" ]]; then
|
||||||
tail -f $DOKKU_EVENTS_LOGFILE
|
tail -F $DOKKU_EVENTS_LOGFILE
|
||||||
else
|
else
|
||||||
tail -n 100 $DOKKU_EVENTS_LOGFILE
|
tail -n 100 $DOKKU_EVENTS_LOGFILE
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user