Fix the issue that we can't see the dlog message
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 27 Mar 2013 07:18:00 +0000 (16:18 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 27 Mar 2013 07:20:56 +0000 (16:20 +0900)
The environment variable did not set in dbus auto-activation.

Change-Id: I25ea708ab2f2ae7910918ea8eb06948046f3230e

bt-service/org.projectx.bt.service

index 629e8c2..691a67d 100644 (file)
@@ -1,4 +1,4 @@
 [D-BUS Service]
 Name=org.projectx.bt
-Exec=/bin/sh -c 'if [ -d /sys/fs/cgroup/systemd ] ; then export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket; fi; exec /usr/bin/bt-service'
-User=app
\ No newline at end of file
+Exec=/bin/sh -c 'if [ -d /sys/fs/cgroup/systemd ] ; then export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket; export TIZEN_PLATFORMLOGGING_MODE=1; export TIZEN_DLOG_LEVEL=1; fi; exec /usr/bin/bt-service'
+User=app