From: Junkyeong Kim Date: Wed, 6 Mar 2019 09:15:21 +0000 (+0900) Subject: add systemd unit before option X-Git-Tag: accepted/tizen/unified/20190311.072616~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51fc406fd9188d7f6e340d560861c799a52ab3ab;p=platform%2Fcore%2Fuifw%2Flibtbm.git add systemd unit before option Change-Id: Ia43a86acbe84bdd0956bdcf8dbaf2ff21adc70b7 Signed-off-by: Junkyeong Kim --- diff --git a/service/tbm-drm-auth-user.service b/service/tbm-drm-auth-user.service index 6fdaaba..0284bc4 100644 --- a/service/tbm-drm-auth-user.service +++ b/service/tbm-drm-auth-user.service @@ -1,7 +1,8 @@ [Unit] Description=Creating a link file for user to access tbm-drm-auth DefaultDependencies=no +Before=starter.service [Service] Type=oneshot -ExecStart=/usr/bin/ln -s /run/tbm-drm-auth /run/user/%U/ +ExecStart=/usr/bin/sh -c "while [ ! -e /run/tbm-drm-auth ] ; do /usr/bin/sleep .1 ; done ;/usr/bin/ln -s /run/tbm-drm-auth /run/user/%U/"