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 [email protected]
  • Loading branch information
yxieca authored Sep 13, 2021
1 parent d20f0cb commit 41643a9
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 41643a9

Please sign in to comment.