The pkg-db-recovery.service, sdbd.service and ad.service have "Requires=tizen-system-env.service"
So, each time these services are executed, tizen-system-env.service is also executed.
"RemainAfterExit=yes" makse "active (exited)" state even if the serivce is completed.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I2b1db458deb5bc92fde12912c00303e3ebd65b8a
[Service]
Type=oneshot
+RemainAfterExit=yes
SmackProcessLabel=System
ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME|XDG_RUNTIME_DIR)=" > /run/tizen-system-env'
ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -e "XDG_RUNTIME_DIR=" > /run/xdg-root-env'