2018-08-08 02:43:00 -05:00
|
|
|
[Unit]
|
2019-09-11 00:07:13 -05:00
|
|
|
Description=Accton AS5812-54X Platform Monitoring service
|
2018-08-08 02:43:00 -05:00
|
|
|
Before=pmon.service
|
2019-09-11 00:07:13 -05:00
|
|
|
After=sysinit.target
|
2018-08-08 02:43:00 -05:00
|
|
|
DefaultDependencies=no
|
|
|
|
|
|
|
|
[Service]
|
2019-09-11 00:07:13 -05:00
|
|
|
Type=simple
|
|
|
|
ExecStartPre=/usr/local/bin/accton_as5812_util.py install
|
|
|
|
ExecStart=/usr/local/bin/accton_as5812_monitor.py
|
|
|
|
#RemainAfterExit=yes
|
|
|
|
|
|
|
|
# Resource Limitations
|
|
|
|
LimitCORE=infinity
|
2018-08-08 02:43:00 -05:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|