diff options
Diffstat (limited to 'libs/httpd/host/runluci')
-rwxr-xr-x | libs/httpd/host/runluci | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/httpd/host/runluci b/libs/httpd/host/runluci index b82efce1c..1d5812679 100755 --- a/libs/httpd/host/runluci +++ b/libs/httpd/host/runluci @@ -27,7 +27,7 @@ vhost:set_handler("/luci", lucihandler) io.stderr:write("Starting LuCI HTTPD on port " .. PORT .. "...\n") io.stderr:write("Point your browser to http://localhost:" .. PORT .. "/luci\n") -daemon = luci.httpd.Daemon() +--daemon = luci.httpd.Daemon() --daemon.debug = true -daemon:register(serversocket, server:create_daemon_handlers()) -daemon:run() +luci.httpd.register(serversocket, server:create_daemon_handlers()) +luci.httpd.run() |