Lightweight process/daemon monitor? (ie. monitor and restart a single process)
1
vote
0
answers
303
views
Can anybody recommend a lightweight process/daemon monitor?
I'm running a user-land service process and I just need something to monitor and restart it when it crashes. The system is running embedded linux so systemd isn't installed, etc.
I'm just looking for a single-binary monitor that can run like this:
/usr/bin/monitor my_process --restart=3
(ie. restart up to 3 times, or whatever other command-line options, etc)
Asked by SofaKng
(343 rep)
Jan 25, 2021, 12:59 AM