sonic-buildimage/platform/pddf/i2c/service/pddf-platform-init.service

15 lines
325 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=PDDF module and device initialization service
Before=pmon.service
DefaultDependencies=no
[Service]
Type=oneshot
ExecStartPre=-/usr/local/bin/pre_pddf_init.sh
ExecStart=/usr/local/bin/pddf_util.py install
ExecStop=/usr/local/bin/pddf_util.py clean
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target