On Monday, February 27, 2017 at 5:13:51 PM UTC-5, klas.eq...@gmail.com 
wrote:
>
> Thank you for your answers.
>
> But still: What about the second point? Running the shell to start the 
> background script is a process that never ends, thus systemd stays in 
> "activating" state, because the action is never finished. And I guess it's 
> not a good practice for a daemon to keep starting but never finish 
> starting...
>

I'm not sure about that, but when you call web2py.py with the -R option, it 
doesn't actually start a Python shell -- it just runs the script in a 
web2py environment. Maybe have a look at 
http://stackoverflow.com/a/30189540 for some ideas.

Anthony 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to