DJB daemontools - tools for managing UNIX services
Supervise monitors a service. It starts the service and restarts the
service if it dies. The companion svc program stops, pauses, or
restarts the service on sysadmin request. The svstat program prints
a one-line status report.
Multilog saves error messages to one or more logs. It optionally
timestamps each line and, for each log, includes or excludes lines
matching specified patterns. It automatically rotates logs to limit
the amount of disk space used. If the disk fills up, it pauses and
tries again, without losing any data.