Avoid implicit Before socket.target
[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 Requires=afm-user-setup@%i.service
18 After=afm-user-setup@%i.service
19 DefaultDependencies=no
20
21 [Socket]
22 SmackLabel=*
23 ListenStream=USER_RUN_DIR/apis/ws/{{name}}
24 FileDescriptorName={{name}}
25
26 Service=UNIT_NAME_SERVICE
27
28 %nl
29 [Install]
30 WantedBy=afm-user-session@.target
31 %systemd-unit wanted-by afm-user-session@.target
32
33 %end systemd-unit
34
35
36
37 {{/value=ws|auto}}
38 {{/provided-api}}
39
40