sonic-buildimage/files/image_config/process-reboot-cause/determine-reboot-cause.service
Sujin Kang a80319e2d0
[201811] Check platform reboot cause to see if any reset happened during fast/warm-reboot (#8912)
[201811] Check platform reboot cause to see if any reset happened during fast/warm-reboot

Why I did it
To recover syncd and swss from any cold reset during fast/warm-reboot

How I did it
Check platform reboot-cause to see if any cold reset happens for fast-reboot power up

How to verify it
Manual test
2021-12-01 10:50:55 -08:00

8 lines
142 B
Desktop File

[Unit]
Description=Reboot cause determination service
After=rc-local.service
[Service]
Type=simple
ExecStart=/usr/bin/determine-reboot-cause