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: Id33118caeec97b279a558fc7c90af32c6e8272ce
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/sh -c "while [ ! -e /run/tdm-socket ] ; do /usr/bin/sleep .1 ; done ;/usr/bin/ln -s /run/tdm-socket /run/user/%U/"