summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2017-07-04 17:55:26 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2017-08-21 07:30:38 +0000
commit7f908d6c7bcdac9b64aca5ecd4cc31fcd8a13162 (patch)
tree8f040732e831a0a274921dd570dfef21af2233c7
parentd3087974dd3bb02f09636e6a008173ef5ecf9990 (diff)
downloadsystem-plugin-7f908d6c7bcdac9b64aca5ecd4cc31fcd8a13162.tar.gz
system-plugin-7f908d6c7bcdac9b64aca5ecd4cc31fcd8a13162.tar.bz2
system-plugin-7f908d6c7bcdac9b64aca5ecd4cc31fcd8a13162.zip
tizen-system-env.service : add "RemainAfterExit=yes"
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
-rw-r--r--units/tizen-system-env.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/tizen-system-env.service b/units/tizen-system-env.service
index fac769e..29a3cc2 100644
--- a/units/tizen-system-env.service
+++ b/units/tizen-system-env.service
@@ -5,6 +5,7 @@ Before=basic.target
[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'