ff9274d2a0
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
14 lines
209 B
SYSTEMD
14 lines
209 B
SYSTEMD
[Unit]
|
|
Description=Discard unused blocks once a week
|
|
Documentation=man:fstrim
|
|
After=sonic.target
|
|
|
|
[Timer]
|
|
OnCalendar=weekly
|
|
OnBootSec=10min
|
|
AccuracySec=1h
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|