summaryrefslogtreecommitdiff
path: root/units/wm_ready.service.m4
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-24 15:27:53 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-24 15:27:53 +0900
commit4725260e575eec8371cc30afc93fbe09f855d85d (patch)
tree87c410179e6a4c3e06d31b31565f0d46215b6c79 /units/wm_ready.service.m4
parentf66f61d6d5c9f9928f140ebfbda80284d1331529 (diff)
downloadsystem-plugin-common-959587286418e866d1cac96ffe0c41466a461648.tar.gz
system-plugin-common-959587286418e866d1cac96ffe0c41466a461648.tar.bz2
system-plugin-common-959587286418e866d1cac96ffe0c41466a461648.zip
Diffstat (limited to 'units/wm_ready.service.m4')
-rw-r--r--units/wm_ready.service.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/units/wm_ready.service.m4 b/units/wm_ready.service.m4
new file mode 100644
index 0000000..014e1c2
--- /dev/null
+++ b/units/wm_ready.service.m4
@@ -0,0 +1,15 @@
+[Unit]
+Description=waiting for window mananger
+After=xorg.service
+Before=tizen-boot.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c 'while [ ! -e /tmp/.wm_ready ]; do sleep 0.1 ; done'
+TimeoutSec=10s
+m4_ifdef(`SMACK_LABEL',
+SmackProcessLabel=system-plugin-common::script
+)m4_dnl
+
+[Install]
+WantedBy=tizen-boot.target