I followed the instructions in the book Chapter 13 "Start as Linux daemon". But when I type this on command line:
sudo /etc/init.d/web2py start I get this error: * Starting Web Framework web2py chown: invalid user: 'web2py' start-stop-daemon: user 'web2py' not found I think it's caused by the group:user is actually "www-data' as setup by the ngenix-uwsgi-ubuntu.sh script, instead of "web2py". I can get the web2py server to run by typing this at the command line: cd /home/www-data/web2py sudo -u www-data python web2py But it is not a daemon process (running in the background). What is the proper way to resolve the different owners so I can run web2py server as a daemon and also in a secure way (not by sudo -- or does that matter)? Thank you-- I'm a noob! -- 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.