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