afs-supervisor: Start the service on need 67/22167/2
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 16 Aug 2019 19:21:00 +0000 (21:21 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 20 Aug 2019 14:36:52 +0000 (14:36 +0000)
afs-supervisor.service failed to start the supervisor
due to a non available activation socket.

This change start the api socket and will activate
the service on need.

Bug-AGL: SPEC-2753

Change-Id: I2fd3c2d2d29bce8d70becaba0792918d6f6c0769
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-app-framework/recipes-core/af-binder/af-binder_git.bb

index 29224e6..cf20e25 100644 (file)
@@ -21,7 +21,7 @@ pkg_postinst_${PN}() {
 do_install_append_agl-devel_class-target() {
     if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
         install -d -m 0755 ${D}${systemd_system_unitdir}/multi-user.target.wants
-        ln -s ../afs-supervisor.service ${D}${systemd_system_unitdir}/multi-user.target.wants/afs-supervisor.service
+        ln -s ../afm-api-supervisor.service ${D}${systemd_system_unitdir}/multi-user.target.wants/afm-api-supervisor.service
     fi
 }