sonic-buildimage/platform/broadcom/sonic-platform-modules-ruijie/common/service/device_i2c.service

16 lines
294 B
SYSTEMD
Raw Normal View History

[Unit]
Description= Ruijie Global Initialize I2c drivers.
After=local-fs.target
Before=pmon.service
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/local/bin/device_i2c.py start
ExecStop=/usr/local/bin/device_i2c.py stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target