From e8b8012818791f157ba0b07c3f97f23a4a740ab9 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Mon, 13 Sep 2021 07:37:46 -0700 Subject: [PATCH] [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 --- files/image_config/fstrim/fstrim.timer | 1 + 1 file changed, 1 insertion(+) diff --git a/files/image_config/fstrim/fstrim.timer b/files/image_config/fstrim/fstrim.timer index c6142dd948..3ffb2332b7 100644 --- a/files/image_config/fstrim/fstrim.timer +++ b/files/image_config/fstrim/fstrim.timer @@ -1,6 +1,7 @@ [Unit] Description=Discard unused blocks once a week Documentation=man:fstrim +After=sonic.target [Timer] OnCalendar=weekly