Fix: non-zero exit status is ignored in tizen-system-env.service 53/178953/1 accepted/tizen/unified/20180515.063844 submit/tizen/20180515.051307
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 15 May 2018 05:11:41 +0000 (14:11 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 15 May 2018 05:11:41 +0000 (14:11 +0900)
Change-Id: I7e0824288917cf896a169e20015010484e96d5a2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
units/tizen-system-env.service

index 38b0c08..d6b6980 100644 (file)
@@ -8,8 +8,8 @@ RequiresMountsFor=/opt
 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'
+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