Prevent spurious restarts 68/313168/1 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x tizen accepted/tizen/unified/20240705.082043 accepted/tizen/unified/dev/20240708.053941 accepted/tizen/unified/x/20240705.112619
authorŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 19 Jun 2024 14:32:10 +0000 (16:32 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 19 Jun 2024 14:33:11 +0000 (16:33 +0200)
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 <l.stelmach@samsung.com>
service/tbm-drm-auth-user.service

index 0284bc4..e688932 100644 (file)
@@ -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/"