Skip to content

Commit

Permalink
Best to overwrite passwd file than to remove it
Browse files Browse the repository at this point in the history
  • Loading branch information
Klink committed Nov 12, 2012
1 parent 315ce0a commit e0e9ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crontab
@@ -1 +1 @@
*/10 * * * * www-data find /etc/nginx/passwd/transit -mmin +60 -print0 | xargs -0 --no-run-if-empty rm
*/10 * * * * www-data if [ "`find /etc/nginx/passwd/transit -mmin +60 -print0`" ]; then echo > /etc/nginx/passwd/transit ; fi

0 comments on commit e0e9ea0

Please sign in to comment.