diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-08-29 11:40:41 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-08-29 12:58:22 +0200 |
commit | 9ece8f769e35eb9b211c4f21f613840fe3bea492 (patch) | |
tree | 36c5df3901d58093f45020591d405eee1db809fc /conf/afm-unit-debug.conf.in | |
parent | 7c291a0adb54eb287a81e82bda4ef94c05dc2fd9 (diff) |
afm-unit.conf: use option --name for setting binder name
Also enforce output to journal
Change-Id: I85957cfb8cc7e2264c9146ca18c352a0af347934
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/afm-unit-debug.conf.in')
-rw-r--r-- | conf/afm-unit-debug.conf.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/conf/afm-unit-debug.conf.in b/conf/afm-unit-debug.conf.in index ab687e0..748e27a 100644 --- a/conf/afm-unit-debug.conf.in +++ b/conf/afm-unit-debug.conf.in @@ -148,6 +148,10 @@ EnvironmentFile=-/var/run/afm-debug/{{idaver}}{{^#target=main}}@{{:#target}}{{/# Environment=LD_LIBRARY_PATH=$ORIGIN/lib +SyslogIdentifier={{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}} +StandardInput=null +StandardOutput=journal +StandardError=journal ;--------------------------------------------------------------------------------- ;---- text/html application/vnd.agl.native application/vnd.agl.service ---- @@ -157,10 +161,11 @@ Environment=LD_LIBRARY_PATH=$ORIGIN/lib X-AFM--http-port={{:#metadata.http-port}} ExecStart=/usr/bin/afb-daemon \ - --port={{:#metadata.http-port}} \ - --token=HELLO \ + --name {{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}} \ --rootdir={{:#metadata.install-dir}} \ --workdir={{&#metadata.app-data-dir}}/{{id}} \ + --port={{:#metadata.http-port}} \ + --token=HELLO \ {{#content.type=application/vnd.agl.service}} \ --roothttp=. \ {{/content.type=application/vnd.agl.service}} \ |