[202012][fstrim] delay fstrim timer after sonic.target (#8737)

Why I did it
fstrim has dependency on pmon docker.

How I did it
start fstrim timer after sonic.target.

How to verify it
local test and PR test.

Signed-off-by: Ying Xie ying.xie@microsoft.com
This commit is contained in:
Ying Xie 2021-09-13 07:37:46 -07:00 committed by GitHub
parent d20f0cb7ea
commit 41643a9729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
After=sonic.target
[Timer]
OnCalendar=weekly