From 41643a9729011fb41b44c1d74a4c17f0b9a7ed42 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 c6142dd94826..3ffb2332b7a6 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