aboutsummaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf/provided-binding.inc
blob: 64c453db09d4a91fbbfe08ef41c733809c479ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; back
dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4:
;-------------------------------------------------------------------------------
;----        P R O V I D E D   B I N D I N G                                ----
;-------------------------------------------------------------------------------

{{#provided-binding}}

;-------------------------------------------------------------------------------
;----        T H E   S E R V I C E   O F   T H E   B I N D I N G            ----
;-------------------------------------------------------------------------------
%begin systemd-unit

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

%systemd-unit system
%systemd-unit service UNIT_NAME_BINDING_BASE({{name}})@

[Unit]
Description=Provides binding {{name}} for user %i

Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/ln -sf {{:#metadata.install-dir}}/{{value}} API_PATH_LINK/{{name}}

%end systemd-unit

{{/provided-binding}}