[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 Qi Luo
parent 4bdd31565f
commit e8b8012818

View File

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