On Sep 9, 2009, at 12:00 AM, Arvind wrote:

> when i run the startup script for arch linux provided inside the
> scripts folder. i keep getting this error.
>
> web2py.archlinux.sh: line 13: [: -ne: unary operator expected
>
> I have copied this script into the main web2py directory and from
> there i am running it.
>
> i am not quite sure how this is supposed to run.
>
> can anybody please help ?

If all you want is a simple startup script, I use this:

#!/bin/sh
#
#  start web2py with recycled password and no tk UI
#
W2PDIR=path-to-web2py-base-directory
(python $W2PDIR/web2py.py -a "<recycle>") &

You can add nohup and redirection as required. To stop web2py, use ps  
and kill.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to