After=afm-api-ws-{{name}}.socket
{{/value=auto|ws}}
{{/required-api}}
+Requires=user-config.service
+After=user-config.service
%nl
[Service]
--workdir={{&#metadata.app-data-dir}}/{{id}} \
--port={{:#metadata.http-port}} \
--token=HELLO \
+ --verbose \
+ --monitoring \
{{#content.type=application/vnd.agl.service}} \
--roothttp=. \
{{/content.type=application/vnd.agl.service}} \
--dbus-server={{name}} \
{{/value=dbus}}\
{{/provided-api}}\
- --monitoring \
{{#content.type=text/html}}\
--exec /usr/bin/web-runtime http://localhost:@p/{{content.src}}?token=@t
{{/content.type=text/html}}\