Skip to content

Commit

Permalink
add config-setup.service as dependency for pcie-check.service (sonic-…
Browse files Browse the repository at this point in the history
…net#7599)

Why I did it
start pcie-check.service after config-setup.service since pcie_util depends on device_info which is available with config db metadata.

How I did it
Add config-setup.service as a dependency of pcie-check.service

How to verify it
Upon reboot, check if the pcie-check.sh throws the platform api error which is dependent on DEVICE_METADATA
  • Loading branch information
sujinmkang authored and qiluo-msft committed May 19, 2021
1 parent 6d732b5 commit d1043e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/image_config/pcie-check/pcie-check.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=Check the PCIe device presence and status
After=rc.local.service database.service
After=rc.local.service database.service config-setup.service

[Service]
Type=simple
Expand Down

0 comments on commit d1043e3

Please sign in to comment.