8
2
I am looking for a simple process monitor for my account in a popular VPS. I loved Supervisor and Monit, but they seem overkill for me.
I want something
- that runs as a daemon (So my VPS account can start it on boot and also "start" by cron in case the monitor itself goes down)
- that monitors by spawning stuff as subprocess (like Supervisor) or by doing a polling command that returns true or false (like a BASH if statement)
- both easy to use (need minimal configuration) and production stable (somehow few software seems to satisfy both demands)
- Suitable in a managed VPS- run in user mode, minimum memory usage
runit
would be an alternative to daemontools. It's also very simple and low-level. Basically all you need for running a proces is a file containing some exec command, e.g.exec sleep 300
Then you create a symlink from directory containing run script to/etc/service/name
and your're done. – Tombart – 2013-12-01T11:35:06.660