[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 Judy Joseph
parent d8841cb876
commit ff9274d2a0

View File

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