2023-09-11 01:56:25 +00:00
|
|
|
[Unit]
|
2024-01-03 04:47:50 +00:00
|
|
|
Description=It get device's health. There is cpu, memory, network up/downlink, network interface, etc.
|
2023-09-11 01:56:25 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=root
|
2024-01-03 04:47:50 +00:00
|
|
|
ExecStart=/usr/local/bin/device-health -mqtt=aws
|
2023-09-11 01:56:25 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|