Issue #035 [Fixed/closed] - Service starts too early and doesn't work right

Posted by wolfen351

What steps will reproduce the problem?

  1. Install WebIOPi
  2. Schedule to run at startup as per the instructions
  3. Reboot

At this point I observe the service running, but non responsive on port 8000.

WebIOPi version used? => Unknown, one from the store

Python version used? => Unknown, one that came with the distro

Distro used? (WebIOPi has only been tested on Raspbian Wheezy) => Wheezy

Raspberry Pi board revision? (1 or 2) => Rev 2

For Javascript side bugs, Browser? => N/A

Please provide any additional information below.

Suggested fix: * Add $network to the startup dependancies, fixed it for me.


Comment 1

Posted by wolfen351

! /bin/sh

BEGIN INIT INFO

Provides: webiopi

Required-Start: $remote_fs $syslog $network

Required-Stop: $remote_fs $syslog

Default-Start: 2 3 4 5

Default-Stop: 0 1 6

Short-Description: WebIOPi initscript

Description: WebIOPi initscript

END INIT INFO

Author: trouch trouch@trouch.com

WEBIOPI_PORT=8000


Comment 2

Posted by trouch

thanks for report and fix do you use wifi connection ?


Comment 3

Posted by trouch

This issue was closed by revision r991.


Comment 4

Posted by wolfen351

Hi there Thanks for the fix!

No this was a wired connection..