Merge "docs: Improve documentating 'required-binding'"
authorStéphane Desneux <stephane.desneux@iot.bzh>
Thu, 11 Oct 2018 08:29:27 +0000 (08:29 +0000)
committerGerrit Code Review <gerrit@automotivelinux.org>
Thu, 11 Oct 2018 08:29:27 +0000 (08:29 +0000)
conf/unit/afm-unit-debug.conf.in
conf/unit/afm-unit.conf.in
conf/unit/generate-unit-conf/provided-binding.inc

index 01d3c2e..accf8ca 100644 (file)
@@ -277,7 +277,7 @@ After=afm-user-setup@%i.service
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=/bin/ln -s {{:#metadata.install-dir}}/{{value}} @afm_users_rundir@/%i/apis/link/{{name}}
+ExecStart=/bin/ln -sf {{:#metadata.install-dir}}/{{value}} @afm_users_rundir@/%i/apis/link/{{name}}
 %end systemd-unit
 {{/provided-binding}}
 {{/targets}}
index 74c57ea..e1d2112 100644 (file)
@@ -277,7 +277,7 @@ After=afm-user-setup@%i.service
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=/bin/ln -s {{:#metadata.install-dir}}/{{value}} @afm_users_rundir@/%i/apis/link/{{name}}
+ExecStart=/bin/ln -sf {{:#metadata.install-dir}}/{{value}} @afm_users_rundir@/%i/apis/link/{{name}}
 %end systemd-unit
 {{/provided-binding}}
 {{/targets}}
index a5636ee..c60b0dc 100644 (file)
@@ -24,7 +24,7 @@ After=afm-user-setup@%i.service
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=/bin/ln -s {{:#metadata.install-dir}}/{{value}} USER_RUN_DIR/apis/link/{{name}}
+ExecStart=/bin/ln -sf {{:#metadata.install-dir}}/{{value}} USER_RUN_DIR/apis/link/{{name}}
 
 %end systemd-unit