Skip to content

Commit

Permalink
refactor: docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rxnew committed Oct 5, 2021
1 parent d7a9b1b commit d66dede
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ target=$1
expiration=$(awk "BEGIN { print $2/60 }")
duration=$3

while true
do
while true; do
find "$target" -type f -amin +"$expiration" -delete -print
sleep "$duration" & wait $!
done

0 comments on commit d66dede

Please sign in to comment.