X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf%2Funit%2Fbinder.inc;h=a94e69d7724360f80dd82b67a0a22b32a441ce4b;hb=a6fb7793f766a258350f23a9180228ce31320fc3;hp=30c25d5e614b56844b3bf31ecd516dbac8faaa98;hpb=5b801a3e7b0465f88b785a155dd430ba09c56568;p=src%2Fapp-framework-main.git diff --git a/conf/unit/binder.inc b/conf/unit/binder.inc index 30c25d5..a94e69d 100644 --- a/conf/unit/binder.inc +++ b/conf/unit/binder.inc @@ -12,7 +12,7 @@ Type=notify ExecStart=/usr/bin/afb-daemon \ --name afbd-TARGET \ --rootdir={{:#metadata.install-dir}} \ - --workdir=APP_DATA_DIR/{{id}} \ + --workdir=APP_WORK_DIR \ IF_AGL_DEVEL \ --verbose \ --verbose \ @@ -46,6 +46,7 @@ ENDIF \ ON_VALUE(dbus, --dbus-server={{name}}) \ ON_VALUE(tcp, --ws-server=tcp:{{name}}) \ {{/provided-api}} \ + ON_PERM(:platform:apis:auto-ws, --auto-api=API_PATH_WS) \ ON_CONTENT(text/html, --exec /usr/bin/web-runtime http://localhost:@p/{{content.src}}?token=@t) \ ON_CONTENT(application/vnd.agl.native, --exec {{:#metadata.install-dir}}/{{content.src}} @p @t) - +%nl