sudo uwsgi --master --die-on-term --emperor /etc/uwsgi --logto /var/log/uwsgi/uwsgi.log
Yeah. Looks like that was it! How do I make this change permanent?
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/Bx_9u0iC86o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It works on the pi. I did it yesterday and its all working.
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
Run this script: scripts/setup-web2py-nginx-uwsgi-ubuntu.sh It works on the pi. I did it yesterday and its all working.
Thanks. I will probably try with the repos version and submit a pull request with a script for the web2py source. Also making a tool to publish to Qt cloud services. Perhaps we could add it to admin.
login as pi user (any user, not root) and enter following commands:
sudo apt-get install python-web2py
mkdir web2py
cd web2py
openssl genrsa -out ca.key 1024
openssl req -new -key ca.key -out ca.csr
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
web2py -a 'your_password' -i IP.IP.IP.IP -p 8000 -c ca.crt -k ca.key
where IP.IP.IP.IP is IP address of Raspberry network interface