Does anyone know of a way to check for information pumped out of syslog? like in var or something. I need help restarting a program that throws lots of errors to syslog's virtual terminal. And i want to find a way to automatically restart it.
There are different ways how u can solve it.
If the program dies, u can use inittab or better daemontools (are in portage) to watch/restart it.
If it really throws a big output, u can replace the log file with "named pipe" and then point your own filter to that pipe, which will restart it immediatelly if needed.
If it's not so dramatic, script in crontab can be sufficient solution.
But the best would be to improve/patch that problematic program :-).
noro
-- [EMAIL PROTECTED] mailing list
