conf: adds mode for the binder
authorJosé Bollo <jose.bollo@iot.bzh>
Sat, 13 Feb 2016 21:33:40 +0000 (22:33 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Sat, 13 Feb 2016 21:33:40 +0000 (22:33 +0100)
Change-Id: I6cd15a82fe5c9547afa3975300f26c42ba3b2283
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
conf/afm-launch.conf

index 92ede4d..a9daa83 100644 (file)
 # %H height
 # %% %
 
+#-----------------
 mode local
-
+#-----------------
 text/html
-       /usr/bin/afb-daemon --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
+       /usr/bin/afb-daemon --mode local --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
        /usr/bin/web-runtime http://localhost:%P/%c?token=%S
 
 application/x-executable
@@ -26,9 +27,11 @@ application/x-executable
 text/vnd.qt.qml
        /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c
 
+#-----------------
 mode remote
+#-----------------
 
 text/html
-       /usr/bin/afb-daemon --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
+       /usr/bin/afb-daemon --mode remote --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
        http://%%h:%P/%c?token=%S