diff options
-rw-r--r-- | units/tizen-system-env.service | 3 |
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 |