wm_ready: add 30sec timeout on wm_read.service file
authorSooyoung Ha <yoosah.ha@samsung.com>
Wed, 7 Jan 2015 06:35:34 +0000 (15:35 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Wed, 7 Jan 2015 06:38:08 +0000 (15:38 +0900)
In general case, likely, wm_ready will be stopped within 5sec. But in newly
comming model, wm_ready can not be stopped by problem of xorg or
enlightenment. In this case, we have to ignore the initialization of
enlightenment. As a workaround(maybe no other choice), timeout was added
to wm_ready.service unit.

Change-Id: I08af4ab2ffb313801fb3c8d520223d6e4132ba80
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
filesystem/usr/lib/systemd/system/wm_ready.service

index d8c182f..00d287f 100644 (file)
@@ -6,6 +6,7 @@ Before=tizen-boot.target
 [Service]
 Type=oneshot
 ExecStart=/bin/sh -c 'while [ ! -e /tmp/.wm_ready ]; do sleep 0.1 ; done'
+TimeoutSec=30s
 
 [Install]
 WantedBy=tizen-boot.target