summaryrefslogtreecommitdiffstats
path: root/README.lighttpd
blob: 321f2fd6bc320cf0a9d68000f4247d9088c69115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Example lighttpd config for the json-dbus-bridge, to start the bridge on
demand:

fastcgi.server = (
	"/rpc" => ((
		"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.