summaryrefslogtreecommitdiffstats
path: root/conf/generate-unit-conf/provided.inc
blob: d42ba77de3ad70604d849c920a2fd41bad366f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;---------------------------------------------------------------------------------
;----        P R O V I D E D   A P I S                                        ----
;---------------------------------------------------------------------------------

{{#provided-api}}
{{#value=ws|auto}}

%begin systemd-unit

# auto generated by wgtpkg-unit for {{:id}} version {{:version}} target {{:#target}} of {{:idaver}}

%systemd-unit system
%systemd-unit socket afm-api-ws-{{name}}@

[Socket]
SmackLabel=*
ListenStream=%t/apis/ws/{{name}}
FileDescriptorName={{name}}

Service=UNIT_NAME_SERVICE

%nl
[Install]
WantedBy=sockets.target
%systemd-unit wanted-by sockets.target

%end systemd-unit

{{/value=ws|auto}}
{{/provided-api}}