Skip to content

Commit

Permalink
fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Apr 15, 2024
1 parent 52d2abd commit e8d0c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/etc/s6-overlay/scripts/cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ source /scripts/common
# LOOPTIME is the time between two runs cleanup. In our case, daily.
LOOPTIME="1d"
#
# OLDERTHAN indicates which age files can be deleted. This is in DAYS.
# OLDERTHAN indicates which age log files can be deleted. This is in DAYS.
# It specifically applies to files in the HTML directory.
# If $PF_DELETEAFTER is set to "0" then we never delete.
# Note - files in /tmp will get deleted if they are older than 2 days.
OLDERTHAN="${PF_DELETEAFTER:-14}"
OLDERTHAN=7
#
# MAXLOGLINES contains the max number of lines that we will keep in /tmp/planefence.log
MAXLOGLINES=5000
Expand Down

0 comments on commit e8d0c17

Please sign in to comment.