summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-05-27 16:21:20 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-06-03 17:08:09 +0200
commit40c8adb0ce31d7c5f10d22eb44c40701ad500a77 (patch)
treec454bf587011353fd613793f982d5a563133051b
parentc1fb82eee8f520227e64f5dd0fe3c4ece879f5a8 (diff)
downloadjson-dbus-bridge-40c8adb0ce31d7c5f10d22eb44c40701ad500a77.tar.gz
json-dbus-bridge-40c8adb0ce31d7c5f10d22eb44c40701ad500a77.tar.xz
[README] update
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--README.lighttpd13
1 files changed, 10 insertions, 3 deletions
diff --git a/README.lighttpd b/README.lighttpd
index a548db2..321f2fd 100644
--- a/README.lighttpd
+++ b/README.lighttpd
@@ -1,12 +1,19 @@
-Example lighttpd config for the json-dbus-bridge:
+Example lighttpd config for the json-dbus-bridge, to start the bridge on
+demand:
fastcgi.server = (
"/rpc" => ((
- "bin-path" => "/usr/bin/sudo -u anon /usr/bin/json-dbus-bridge",
- "socket" => "/tmp/anon.json-dbus-bridge.socket",
+ "bin-path" => "/usr/bin/json-dbus-bridge",
+ "socket" => "/tmp/json-dbus-bridge.socket",
"check-local" => "disable",
"mode" => "responder",
+ "max-procs" => 1,
))
)
+To connect on an existing bridge (e.g. stated by another user), drop the
+"bin-path" line and start the json-dbus-bridge with the socket name as the
+first parameter. Make sure, that the web-server has the necessary rights to
+open the socket.
+