watch dokku events through a logrotate
This commit is contained in:
1 parent
de29abdab6
commit
2d109a20c5
1 file changed
+1
-1
@@ -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