summaryrefslogtreecommitdiffstats
path: root/conf/afm-launch.conf.in
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-07-10 14:58:19 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2016-07-10 18:20:06 +0200
commit0257e4d58a25d328a971423d5fe5289d9985d046 (patch)
tree4ef9fb63e47d39a266e14a8b7ec71d7c9bc57be8 /conf/afm-launch.conf.in
parentdd9a802209b6d7a41f16b0123090b93a428c9404 (diff)
afm-launch.conf: handle services through application/vnd.agl.service mimetype
Change-Id: Icb19b5d5036168b3e74f8e684ec4a2909d0feeb7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'conf/afm-launch.conf.in')
-rw-r--r--conf/afm-launch.conf.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/conf/afm-launch.conf.in b/conf/afm-launch.conf.in
new file mode 100644
index 0000000..c5d4461
--- /dev/null
+++ b/conf/afm-launch.conf.in
@@ -0,0 +1,40 @@
+# %% %
+# %a appid
+# %b bindings
+# %c content
+# %D datadir
+# %H height
+# %h homedir
+# %I icondir
+# %m mime-type
+# %n name
+# %P port
+# %R readyfd
+# %r rootdir
+# %S secret
+# %W width
+
+#-----------------
+mode local
+#-----------------
+text/html
+ /usr/bin/afb-daemon --mode=local --readyfd=%R --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
+ %r/%c
+
+application/vnd.agl.service
+ /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/%c --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
+
+text/vnd.qt.qml
+ /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c
+
+#-----------------
+mode remote
+#-----------------
+
+text/html
+ /usr/bin/afb-daemon --mode=remote --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
+ http://%%h:%P/%c?token=%S
+