[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:
parent
d8841cb876
commit
ff9274d2a0
@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Discard unused blocks once a week
|
Description=Discard unused blocks once a week
|
||||||
Documentation=man:fstrim
|
Documentation=man:fstrim
|
||||||
|
After=sonic.target
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=weekly
|
OnCalendar=weekly
|
||||||
|
Loading…
Reference in New Issue
Block a user