diff options
author | Roger Zanoni <rzanoni@igalia.com> | 2023-07-31 10:40:07 +0200 |
---|---|---|
committer | Roger Zanoni <rzanoni@igalia.com> | 2023-07-31 18:31:10 +0200 |
commit | 9ee5b5b2186752d898fca40e9178226c60b495ad (patch) | |
tree | af115140f60a9eaa67507332465da923e8ae9389 /recipes-wam/wam/files/WebAppMgr.service | |
parent | 878de493eeca72e3947af4bc355d5b7896eb0e43 (diff) |
[wam][cef] Fix wam user and working directory
The WAM service needs to run with the correct user and proper working
directory set to be able to find the nssdb containing the kuksa.val
certificates.
Bug-AGL: SPEC-4868
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I22fb5281b4f331d671fba79645435e5357bbca3e
Diffstat (limited to 'recipes-wam/wam/files/WebAppMgr.service')
-rw-r--r-- | recipes-wam/wam/files/WebAppMgr.service | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-wam/wam/files/WebAppMgr.service b/recipes-wam/wam/files/WebAppMgr.service index ed15040fb..5f025a18e 100644 --- a/recipes-wam/wam/files/WebAppMgr.service +++ b/recipes-wam/wam/files/WebAppMgr.service @@ -12,12 +12,14 @@ [Unit] Description="WebAppMgr is responsible for running web apps and manage their lifecycle" -After=agl-compositor.service -Requires=agl-compositor.service +After=agl-compositor.service nss-agl-driver-db.service +Requires=agl-compositor.service nss-agl-driver-db.service Before=graphical.target BindTo=agl-compositor.service [Service] +User=agl-driver +WorkingDirectory=/home/agl-driver Type=simple UMask=0077 OOMScoreAdjust=-1000 |