monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: restarting ffmpeg process


From: Anthony Griffiths
Subject: Re: restarting ffmpeg process
Date: Tue, 6 May 2014 20:36:03 +0100

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:
> 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.

Any reason what ever script/program you have starting ffmpeg can't make
a pid file?


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]