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:
parent
b86b3b0d7d
commit
61a0c3e5ec
@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=Retrieve the reboot cause from the history files and save them to StateDB
|
||||
Requires=database.service
|
||||
After=database.service
|
||||
Requires=database.service determine-reboot-cause.service
|
||||
After=database.service determine-reboot-cause.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
Loading…
Reference in New Issue
Block a user