1 dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4:
2 ;-------------------------------------------------------------------------------
3 ;---- T H E S E R V I C E O F T H E A P I (USER) ----
4 ;-------------------------------------------------------------------------------
7 # auto generated by wgtpkg-unit for {{:id}} version {{:version}} target {{:#target}} of {{:idaver}}
10 %systemd-unit service UNIT_NAME_API_BASE({{name}})@
13 Description=Provides api {{name}} for user %i
14 X-AFM-API-TYPE={{value}}
16 Requires=afm-user-setup@%i.service
17 After=afm-user-setup@%i.service
19 Requires=UNIT_NAME_API_BASE({{name}}).socket
20 After=UNIT_NAME_API_BASE({{name}}).socket
30 ExecStart=/bin/ln -sf PLATFORM_API_PATH_WS/{{name}} USER_API_PATH_WS/{{name}}
34 ;-------------------------------------------------------------------------------
35 ;---- T H E S E R V I C E O F T H E A P I (PLATFORM) ----
36 ;-------------------------------------------------------------------------------
39 # auto generated by wgtpkg-unit for {{:id}} version {{:version}} target {{:#target}} of {{:idaver}}
42 %systemd-unit service UNIT_NAME_API_BASE({{name}})
45 Description=Provides api {{name}} for platform
46 X-AFM-API-TYPE={{value}}
48 Requires=afm-system-setup.service
49 After=afm-system-setup.service
51 Requires=UNIT_NAME_API_BASE({{name}}).socket
52 After=UNIT_NAME_API_BASE({{name}}).socket
61 ;-------------------------------------------------------------------------------
62 ;---- T H E S O C K E T O F T H E A P I (PLATFORM) ----
63 ;-------------------------------------------------------------------------------
67 # auto generated by wgtpkg-unit for {{:id}} version {{:version}} target {{:#target}} of {{:idaver}}
70 %systemd-unit socket UNIT_NAME_API_BASE({{name}})
72 Description=Provides websocket api {{name}} for platform
73 Requires=afm-system-setup.service
74 After=afm-system-setup.service
75 DefaultDependencies=no
80 SmackLabelIPOut=System
81 ListenStream=PLATFORM_API_PATH_WS/{{name}}
82 FileDescriptorName={{name}}
83 Service=UNIT_NAME_BASE.service