sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/s6000/systemd/platform-modules-s6000.service
Arun Saravanan Balachandran 19b2b44638
[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 20:33:44 -08:00

14 lines
299 B
Desktop File

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