summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangjung Woo <sangjung.woo@samsung.com>2015-09-03 09:00:47 +0900
committerSangjung Woo <sangjung.woo@samsung.com>2015-09-03 11:10:05 +0900
commitf33d63815abfa47f4008a64bd6c609627484d248 (patch)
tree72fd775765f42b0e7623af2bcfbc31a57b3550fd
parent89ced1fef1bc6f305770d21a080b0dd2b93288b1 (diff)
downloadsystem-plugin-f33d63815abfa47f4008a64bd6c609627484d248.tar.gz
system-plugin-f33d63815abfa47f4008a64bd6c609627484d248.tar.bz2
system-plugin-f33d63815abfa47f4008a64bd6c609627484d248.zip
XDG_RUNTIME_DIR variable could be changed in multi user environment so its fixed value should be removed. Even though some special processes such as boot-animation runs in system session, but XDG_RUNTIME_DIR variable is required since they has its own UI. So /run/xdg-root-env file is created for this purpose. Change-Id: I0b31b04d05a1f9aff1da5bd7a59651023137d054 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rw-r--r--units/tizen-system-env.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/tizen-system-env.service b/units/tizen-system-env.service
index dc4e188..3130b8c 100644
--- a/units/tizen-system-env.service
+++ b/units/tizen-system-env.service
@@ -5,7 +5,8 @@ Before=basic.target
[Service]
Type=oneshot
-ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME)=" > /run/tizen-system-env'
+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'
[Install]
WantedBy=basic.target