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 by path units need to set
RemainAfterExit=yes.
Change-Id: I2b1aadf3f7ebfa5511fc057b7a657161206bb844
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
[Service]
Type=simple
+RemainAfterExit=yes
CPUAccounting=yes
CPUQuota=10%
ExecStart=/usr/bin/sh -c "/usr/bin/mediadb-update check_db;/usr/bin/mediadb-update `/usr/bin/tzplatform-get TZ_USER_CONTENT | /usr/bin/sed -e 's/^.*=//g'`"