From: INSUN PYO Date: Tue, 4 Jul 2017 08:55:26 +0000 (+0900) Subject: tizen-system-env.service : add "RemainAfterExit=yes" X-Git-Tag: submit/tizen/20170825.004517~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f908d6c7bcdac9b64aca5ecd4cc31fcd8a13162;p=platform%2Fadaptation%2Fsystem-plugin.git tizen-system-env.service : add "RemainAfterExit=yes" The pkg-db-recovery.service, sdbd.service and ad.service have "Requires=tizen-system-env.service" So, each time these services are executed, tizen-system-env.service is also executed. "RemainAfterExit=yes" makse "active (exited)" state even if the serivce is completed. Signed-off-by: INSUN PYO Change-Id: I2b1db458deb5bc92fde12912c00303e3ebd65b8a --- diff --git a/units/tizen-system-env.service b/units/tizen-system-env.service index fac769e..29a3cc2 100644 --- a/units/tizen-system-env.service +++ b/units/tizen-system-env.service @@ -5,6 +5,7 @@ Before=basic.target [Service] 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'