|
From: | Anthony Griffiths |
Subject: | Re: restarting ffmpeg process |
Date: | Tue, 6 May 2014 23:03:05 +0100 |
you need to correctly start ffmpeg
somecrapcommand & pid=$! echo $pid > /var/run/somecrapcommand.pid
On 5/6/2014 9:36 PM, Anthony Griffiths wrote:
I've tried but no success so far. I found this page http://mmonit.com/wiki/Monit/FAQ but I can't get the the wrapper script there adapted to my needs. (I don't know what JAVA_HOME and CLASSPATH=ajarfile.jar.is.) I start ffmpeg with a single (long) command in the console and either put a '&' on the end to background it or run it in a screen and then detach. This is how the process runs, it's not done by /etc/init.d/blah-de-blah. Can the monit wrapper script still work with this?
On Tue, May 6, 2014 at 6:21 AM, Weedy <address@hidden> wrote:
On 05/05/14 04:59 AM, Anthony Griffiths wrote:Any reason what ever script/program you have starting ffmpeg can't make
> I'm running monit-5.3.1-6 on a fedora 20 machine.
> I use ffmpeg to stream video and often the stream goes down. I saw in
> monitrc there is a section to check a process but when ffmpeg is running
> there is no pid file and in the ffmpeg log there is no reference to one.
a pid file?
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |