ronnydm wrote:i have installed also the webiopi service when the system boot
/etc/init.d
when i open the demo.html page with a browser
http://x.x.x.x:8000/demo.html, i have a 404 error
when i stop the service service webiopi stop
then start the python script python3 demo.py &
then it works
what is the difference with the service and the python demo.py script
You have to edit (or copy) /etc/init.d/webiopi and change :
DAEMON_ARGS="-m webiopi $WEBIOPI_PORT"
to
DAEMON_ARGS="/path/to/my/script.py $WEBIOPI_PORT"
remove "-m" and change "webiopi" by your script path.