sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/z9332f/systemd/platform-modules-z9332f.service
Arun Saravanan Balachandran 1b049421aa [DellEMC] Add platform-modules as prerequisite for determine-reboot-cause (#6322)
Add a systemd dependency to make platform-modules service as a prerequisite for determine-reboot-cause service to ensure platform initialization is complete before determine-reboot-cause.service executes.
2021-01-04 23:25:07 -08:00

14 lines
303 B
Desktop File

[Unit]
Description=Dell Z9332f Platform modules
Before=pmon.service determine-reboot-cause.service
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/local/bin/z9332f_platform.sh init
ExecStop=/usr/local/bin/z9332f_platform.sh deinit
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target