I appreciate if anyone can help with the following issue:
I'm trying to run web2py in startup on beaglebone (linux Debian). The problem is that it does not start on the boot; however when i do service web2py start, it starts and works. The reason I know it does not start on the boot is that because when I do netstat -tanp the web2py port is not occupied. Apache2 starts in the boot tho. Other test I did was to service --status-all and it shows (+) for web2py. The web2py in the /etc/init.d is setup and first lines of it are as follows: PATH=/usr/sbin:/usr/bin:/sbin:/bin DESC="Web Framework" NAME=web2py PIDDIR=/var/run/$NAME PIDFILE=$PIDDIR/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME DAEMON=/usr/bin/python DAEMON_DIR=/home/www-data/$NAME DAEMON_ARGS="web2py.py -a pass2 -p 8084 -i 0.0.0.0 --pid_filename=$PIDFILE" DAEMON_USER=root I changed Daemon_user from root to www-data (directory when web2py is installed) and it still did not start. One thing I noticed when doing sudo update-rc.d web2py defaults, I got the following: update-rc.d: using dependency based boot sequencing update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match web2py Default-Stop values (S 0 1 6) insserv: warning: current stop runlevel(s) (0 1 6) of script `web2py' overrides LSB defaults (0 1 6 S). insserv: warning: script 'setup-web2py-ubuntu.sh' missing LSB tags and overrides I think there is a problem with this. Any help is appreciated. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

