Skip to content

Commit 61a0c3e

Browse files
sujinmkangyxieca
authored andcommitted
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
1 parent b86b3b0 commit 61a0c3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sonic-host-services-data/debian/sonic-host-services-data.process-reboot-cause.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Unit]
22
Description=Retrieve the reboot cause from the history files and save them to StateDB
3-
Requires=database.service
4-
After=database.service
3+
Requires=database.service determine-reboot-cause.service
4+
After=database.service determine-reboot-cause.service
55

66
[Service]
77
Type=simple

0 commit comments

Comments
 (0)