On Nov 1, 2010, at 1:14 AM, Leonko wrote:

> You can say more about it?  I do not understand what you say?
> 
> 
>> Can you give your app a babysitter wrapper service?  This sounds like it 
>> might be useful just for uptime.

The idea is that you wrap this app in a service.  The wrapper is started, 
stopped, and restarted like a normal service.

When the wrapper is running, ensures that your application is running.  If your 
application is not running, the wrapper waits a set time and then starts your 
app.  The wait time is because you don't want to load the server by instantly 
restarting.  This is because if you app crashes during startup every time, you 
don't want your server to be excessively loaded by the restart attempts.

Stopping the wrapper stops your app.

Starting the wrapper starts your app.  (then makes sure it keeps running)

Sending a restart to the wrapper, stops the wrapper and then starts the wrapper.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to