sonic-buildimage/platform/broadcom/sonic-platform-modules-accton/as7816-64x/service/as7816-platform-init.service
Roy Lee 584ed989c8 [device][accton]Add fan monitor for as7816-64x (#2859)
* catch signal SIGINT and SIGTERM to set all fans full-speed before end fan monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Add fan_control monitor for as7816-64x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Fix typo.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Correct typo and duty setting after verified.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-05-08 00:41:07 -07:00

14 lines
310 B
Desktop File
Executable File

[Unit]
Description=Accton AS7816-64X Platform initialization service
Before=pmon.service
After=sysinit.target
DefaultDependencies=no
[Service]
ExecStartPre=/usr/local/bin/accton_as7816_util.py install
ExecStart=/usr/local/bin/accton_as7816_monitor.py
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target