Fix user-config.service is started everytime when app launching 07/13207/1
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Thu, 11 Jan 2018 13:27:29 +0000 (13:27 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 16 Jan 2018 00:04:40 +0000 (00:04 +0000)
Due to miss an option in service configuration of
user-config.service, it is started everytime when application
has been launched.

If the user touches app icon or shortcut many times at very
short intervals, user-config.service would invoked too many
time for very short time, then systemd reject execution and
make an error.

This causes an issues in UI. E.g. missing touch event,
collapse of synchronization of HomeScreen's UI view.

Bug-AGL: SPEC-1246

Change-Id: Ia6c7ecac2f880e61c290d6e3ad27d363e228d5f9
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
meta-agl/recipes-config/agl-login-manager/files/user-config.service

index 0bf37fb..a66ba53 100644 (file)
@@ -3,6 +3,7 @@ Description=AGL user config
 
 [Service]
 ExecStart=/bin/ln -sf @DISPLAY_XDG_RUNTIME_DIR@/wayland-0 %t/
+RemainAfterExit=yes
 
 [Install]
 WantedBy=default.target