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: ebrown
Subject: Re: Restart of non standard process
Date: Sun, 18 Jul 2004 09:25:59 -0600 (MDT)
User-agent: SquirrelMail/1.4.3-1.lanl

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
>






reply via email to

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