Add weekly cron job to TRIM drive

See #536

This is the recommended frequency. For desktop this might be less
suitable, so we may want to adjust

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-09-24 14:18:49 +01:00
parent 82a4e55324
commit 635d99d243

View File

@ -0,0 +1,4 @@
#!/bin/sh
# TODO check with hdparm if supports TRIM
/sbin/fstrim /var || true