help-cfengine
[Top][All Lists]
Advanced

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

Re: Restart of non standard process


From: RT
Subject: Re: Restart of non standard process
Date: Sun, 18 Jul 2004 17:57:18 +0200 (Romance Daylight Time)

 That did it. Thanks !!
 
Brgds.
Rasmus
 
-------Original Message-------
 
From: ebrown@lanl.gov
Date: 07/18/04 17:26:03
To: RT
Cc: help-cfengine@gnu.org
Subject: Re: Restart of non standard process
 
Try this:
 
processes:
   "yourprocess"  restart  "/path/to/restart < /dev/null > /dev/null 2>&1"
 
hope this helps,
Ed
 
 
> Hi
>
> We are currently using CF-Engine on our Red Hat ES Linux systems to
> monitor
> (and restart) important processes if needed. However one of the monitored
> applications (3.th party product) do not execute the way a 'normal' linux
> app would. Basically the app. includes tree files for server control:
>
> ./start
> ./stop
> ./restart
>
> When you run these files from a command line they will go trough a series
> of
> steps (with some screen output) when executing. Each will take around
> 30seks
> to complete.
>
> Problem:
>
> When CF-engine runs any of these applications it will 'hang' without ever
> ending. I have tried to make a shell script that runs the program, tried
> the
> ./restart& command all with the same result.
>
> Help to solve this would be most appreciated!
>
> Best regards
> Rasmus
>
>
>
>     _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
 
 

JPEG image


reply via email to

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