Interesting suggestion, I suppose this would work, however this script
to make it work without the reboot,

since 1.01a crashes about every 6 hours for me, this would require a
reboot every 6 hours, thats a little more off-time compared with the
quick restart of the process.

On Mar 31, 2:29 pm, Wes Garland <[email protected]> wrote:
> Why not just run aped from inittab?
>
>
>
>
>
>
>
>
>
> On Tue, Mar 29, 2011 at 11:42 AM, Pablo <[email protected]> wrote:
> > I'm no the most bash literate person but I created a few scripts to
> > START(in background), SHUTDOWN and RESTART the server. I have to manually
> > pass the PID (Ex. RESTART 13946)
>
> > I noticed that the Ape server logs the PID everytime it starts. I was
> > wondering how could I get the current(or last) PID so that i could automate
> > my RESTART and SHUTDOWN bash script.
>
> > But what I really want to do is update my START script so that it checks if
> > the last logged PID still running before starting a new instance of the
> > server. That way I could set a cron job to periodically check if the is
> > running and if needs to be started.
>
> > Ape Version 1.0 Binary installation
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "APE Project" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/ape-project?hl=en
> > ---
> > APE Project (Ajax Push Engine)
> > Official website :http://www.ape-project.org/
> > Git Hub :http://github.com/APE-Project/
>
> --
> Wesley W. Garland
> Director, Product Development
> PageMail, Inc.
> +1 613 542 2787 x 102

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to