[Top][All Lists]

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

Re: Soffice and PHP Script

From: Martin Pala
Subject: Re: Soffice and PHP Script
Date: Tue, 26 Mar 2013 11:21:59 +0100


you can use the pattern based process check (doesn't require the pidfile), for 
check process pager matching "/sbin/dynamic_pager -F /private/var/vm/swapfile"

The start/stop script can be shell scripts if you'll wrap it like this:
start program = "/bin/bash -c '...myscript...'"
=> you can start the programs in the background via the script.


On Mar 26, 2013, at 9:56 AM, Hans Ahrens - Prowise <address@hidden> wrote:

> Hi All,
> For our server i am trying to monitor/auto restart 2 programs. 
> These are :
> -A PHP Script running, At the moment we start this with the 
> following command : nohup php socketo.php, This script listens to port 80 for 
> incoming connections.
> -An instance of Libre Office running headless. We start this via : soffice 
> -headless -accept="socket,host=,port=2002;urp;" -nofirststartwizard
> Now the problem is both of these programs do have a port they listen on ports 
> for connections but they both don't have a PID File or service start/stop 
> file. 
> Is there a way that Monit kan monitor these services or do they require a 
> PID/Service File for Monit to work ?
> Regrads,
> Hans
> --
> To unsubscribe:

reply via email to

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