summaryrefslogtreecommitdiffstats
path: root/conf/unit/provided-binding-user.inc
blob: 5a53735770799b35694ef941189ffba157c9bc74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4:
;-------------------------------------------------------------------------------
;----        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}} USER_API_PATH_LINK/{{name}}

%end systemd-unit