afm-binding: Fix bug in evaluation of runid
[src/app-framework-main.git] / conf / unit / generate-unit-conf / provided.inc
1 dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4:
2 ;---------------------------------------------------------------------------------
3 ;----        P R O V I D E D   A P I S                                        ----
4 ;---------------------------------------------------------------------------------
5
6 {{#provided-api}}
7 {{#value=ws|auto}}
8
9 %begin systemd-unit
10
11 # auto generated by wgtpkg-unit for {{:id}} version {{:version}} target {{:#target}} of {{:idaver}}
12
13 %systemd-unit system
14 %systemd-unit socket afm-api-ws-{{name}}@
15 [Unit]
16 Description=Provides api {{name}} for user %i
17 After=afm-user-setup@%i.service
18
19 [Socket]
20 SmackLabel=*
21 ListenStream=USER_RUN_DIR/apis/ws/{{name}}
22 FileDescriptorName={{name}}
23
24 Service=UNIT_NAME_SERVICE
25
26 %nl
27 [Install]
28 WantedBy=agl-user-session@.target
29 %systemd-unit wanted-by agl-user-session@.target
30
31 %end systemd-unit
32
33
34
35 {{/value=ws|auto}}
36 {{/provided-api}}
37
38