systemd: Add new EnvironmentFile for XDG_RUNTIME_DIR variable 75/47375/1
authorSangjung Woo <sangjung.woo@samsung.com>
Thu, 3 Sep 2015 02:24:43 +0000 (11:24 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Thu, 3 Sep 2015 02:24:43 +0000 (11:24 +0900)
Since XDG_RUNTIME_DIR variable could be changed in multi user
environment so it is removed from /run/tizen-system-env. However,
boot-animation specially requires the XDG_RUNTIME_DIR variable of root user
since it has its own UI. So /run/xdg-root-env which has the
XDG_RUNTIME_DIR variable of root user is newly added in its service
file.

Change-Id: I721bd47ba5237501505552091ee7e6094c8f9d4f
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
packaging/boot-animation.service

index a257169..70bdc30 100644 (file)
@@ -7,6 +7,7 @@ ConditionKernelCommandLine=|!bootmode=silent
 
 [Service]
 EnvironmentFile=/run/tizen-system-env
+EnvironmentFile=/run/xdg-root-env
 
 Type=oneshot
 Nice=-20