diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-05-15 20:49:14 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-06-04 09:52:31 +0200 |
commit | 5b801a3e7b0465f88b785a155dd430ba09c56568 (patch) | |
tree | 82e06c5e13c7a4652170e17665f74496539a7022 /conf/unit/generate-unit-conf/provided-binding.inc | |
parent | a5cf62686366f4a69becf62aa4d953e034c9bee4 (diff) |
afm-unit.conf: Refactor its generation
The process of generating the file /etc/afm-unit.conf
had be reworked to be more straight forward.
Before that commit, a manual operation (a "make") had
to be done before committing the repository. This was
not efficient, error prone and kept temporary files in
conf.
That commit changes it by calling m4 through cmake.
Bug-AGL: SPEC-2436
Change-Id: Ia32a810286471dde8a01387d157e33277d67411d
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/generate-unit-conf/provided-binding.inc')
-rw-r--r-- | conf/unit/generate-unit-conf/provided-binding.inc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/conf/unit/generate-unit-conf/provided-binding.inc b/conf/unit/generate-unit-conf/provided-binding.inc deleted file mode 100644 index 3737126..0000000 --- a/conf/unit/generate-unit-conf/provided-binding.inc +++ /dev/null @@ -1,25 +0,0 @@ -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}} API_PATH_LINK/{{name}} - -%end systemd-unit - - |