Systemd (up to at least 2.19) has a bug in stopping and
restarting user sessions. This patch fix it in a such way
the session is never closed.
Change-Id: I348fae16d43f3746627d2181b4d579fe5f77bd25
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
#!/bin/sh -l
#
ln -sf /run/display/wayland-0 /run/user/$UID/
-exec /usr/bin/tz-launcher -c /usr/share/applications/tizen/launcher.conf $HOME/.applications/desktop
+while true
+do
+ /usr/bin/tz-launcher -c /usr/share/applications/tizen/launcher.conf $HOME/.applications/desktop
+done