20 lines
449 B
SYSTEMD
20 lines
449 B
SYSTEMD
|
[Unit]
|
||
|
Description= This Platform Monitor service is to initialize platform and monitor platform.
|
||
|
Before=platform-monitor.service
|
||
|
After=sysinit.target
|
||
|
Wants=fancontrol.service
|
||
|
Wants=qsfp-monitor.service
|
||
|
DefaultDependencies=no
|
||
|
|
||
|
[Service]
|
||
|
ExecStartPre=/usr/sbin/i2c_utils.sh i2c_init
|
||
|
ExecStart=/usr/sbin/s9230_64x_monitor.sh
|
||
|
KillSignal=SIGKILL
|
||
|
SuccessExitStatus=SIGKILL
|
||
|
|
||
|
# Resource Limitations
|
||
|
LimitCORE=infinity
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|