aboutsummaryrefslogtreecommitdiffstats
path: root/conf/afm-unit-debug.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/afm-unit-debug.conf.in')
-rw-r--r--conf/afm-unit-debug.conf.in9
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}} \