Skip to content

Commit

Permalink
[202012][fstrim] delay fstrim timer after sonic.target (#8737)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yxieca authored and judyjoseph committed Sep 14, 2021
1 parent d8841cb commit ff9274d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/image_config/fstrim/fstrim.timer
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
After=sonic.target

[Timer]
OnCalendar=weekly
Expand Down

0 comments on commit ff9274d

Please sign in to comment.