wam: improve shutdown procedure 22/27322/2
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 30 Mar 2022 08:04:42 +0000 (10:04 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 3 May 2022 20:11:21 +0000 (20:11 +0000)
commitfe41b05648235b07a65962bc425e2fb258bd38bc
tree4dbc32b38b4ffb9b349538d203ba48ccfa3765a4
parent85bab6fcc3a02167a164d57816a982eeb5d6eea2
wam: improve shutdown procedure

It was observed that restarting agl-session would crash and/or hang
WAM. So this change binds WAM to agl-compositor in systemd service
file. This means stopping compositor will stop WAM.

It also fixes another problem on restart, as the WAM launcher
processes from previous execution would still be alive. So it forces
killing all the WAM processes for the user on shutdown.

Bug-AGL: SPEC-4293
Change-Id: I5131cdd56c292c66d0f2d5ea88cf772ef9b4bd56
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
recipes-wam/wam/files/WebAppMgr.service