|
From: | Anthony Griffiths |
Subject: | Re: restarting ffmpeg process |
Date: | Tue, 6 May 2014 21:27:23 +0100 |
previously on this list Anthony Griffiths contributed:
I used to use a pgrep script which is better than a pid file in almost
> Is there a way that monit can monitor the ffmpeg process and run the
> command that restarts it?
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)
_______________________________________________________________________
[Prev in Thread] | Current Thread | [Next in Thread] |