Remove feature-init_wrapper
[platform/adaptation/system-plugin.git] / units / tizen-system-env.service
1 [Unit]
2 Description=Generate environment from /etc/profile.d
3 DefaultDependencies=no
4 Before=basic.target
5 RequiresMountsFor=/opt
6
7 [Service]
8 Type=oneshot
9 RemainAfterExit=yes
10 SmackProcessLabel=System
11 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'
12 ExecStart=-/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -e "XDG_RUNTIME_DIR=" > /run/xdg-root-env'
13
14 [Install]
15 WantedBy=basic.target