From: Łukasz Stelmach Date: Wed, 19 Jun 2024 14:32:10 +0000 (+0200) Subject: Prevent spurious restarts X-Git-Tag: accepted/tizen/unified/20240705.082043^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=186bd389cedfa560bc4ebc00dda44e0cf2e1bf3d;p=platform%2Fcore%2Fuifw%2Flibtbm.git Prevent spurious restarts Due to a fix to path units in systemd in commit 708961c701 ("core/path: recheck path specs when triggered unit changes state"), service units that aren't supposed to run repeatedly and are triggered by path units need to set RemainAfterExit=yes. Change-Id: Ibf47c6e384b45555c5a081e918e37791219cb15c Signed-off-by: Łukasz Stelmach --- diff --git a/service/tbm-drm-auth-user.service b/service/tbm-drm-auth-user.service index 0284bc4..e688932 100644 --- a/service/tbm-drm-auth-user.service +++ b/service/tbm-drm-auth-user.service @@ -5,4 +5,5 @@ Before=starter.service [Service] Type=oneshot +RemainAfterExit=yes 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/"