previously on this list Anthony Griffiths contributed: > Is there a way that monit can monitor the ffmpeg process and run the > command that restarts it?
I used to use a pgrep script which is better than a pid file in almost all cases. monit has supported the same functionality for a couple of years or so. Check the manual and usually using a start or end of line regex is helpful. -- _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd _______________________________________________________________________ I have no idea why RTFM is used so aggressively on LINUX mailing lists because whilst 'apropos' is traditionally the most powerful command on Unix-like systems it's 'modern' replacement 'apropos' on Linux is a tool to help psychopaths learn to control their anger. (Kevin Chadwick) _______________________________________________________________________ -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
