sonic-buildimage/files/image_config/pcie-check/pcie-check.service
Sujin Kang d1043e3c91 add config-setup.service as dependency for pcie-check.service (#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
2021-05-19 18:14:19 +00:00

11 lines
216 B
Desktop File

[Unit]
Description=Check the PCIe device presence and status
After=rc.local.service database.service config-setup.service
[Service]
Type=simple
ExecStart=/usr/bin/pcie-check.sh
[Install]
WantedBy=multi-user.target