blob: 3130b8c2fb46097f945dbf8210d11d4ccb46e637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description=Generate environment from /etc/profile.d
DefaultDependencies=no
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|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
|