add dependancy of determine-reboot-cause sevice to process-reboot-cause service (#11213)

Why I did it
Database container takes long time ( more than 1.5 minutes ) on some vendor platforms.
This makes the determine-reboot-cause starts later than process-reboot-cause service.
And that results in the incorrect reboot-cause determination.

How I did it
Add the dependency of determine-reboot-cause service to process-reboot-cause service
This commit is contained in:
Sujin Kang 2022-07-08 14:40:33 -07:00 committed by GitHub
parent 1b7fcb4659
commit e6463ad6d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=Retrieve the reboot cause from the history files and save them to StateDB Description=Retrieve the reboot cause from the history files and save them to StateDB
Requires=database.service Requires=database.service determine-reboot-cause.service
After=database.service After=database.service determine-reboot-cause.service
[Service] [Service]
Type=simple Type=simple