watch dokku events through a logrotate

This commit is contained in:
Michael Merickel committed 2015-11-02 14:20:55 -06:00
1 parent de29abdab6
commit 2d109a20c5
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ case "$1" in
events)
if [[ -f $DOKKU_EVENTS_LOGFILE ]]; then
if [[ $2 == "-t" ]]; then
tail -f $DOKKU_EVENTS_LOGFILE
tail -F $DOKKU_EVENTS_LOGFILE
else
tail -n 100 $DOKKU_EVENTS_LOGFILE
fi