Fix dbus service file 14/7914/2 36/11636/1 accepted/tizen/20131101.181503 accepted/tizen/20131105.192330 accepted/tizen/20131112.015049 accepted/tizen_ivi_stable/20131119.040508 submit/tizen/20131101.065014 submit/tizen/20131101.065241 submit/tizen_ivi_stable/20131119.032118
authorChengwei Yang <chengwei.yang@intel.com>
Mon, 12 Aug 2013 05:54:16 +0000 (13:54 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Fri, 1 Nov 2013 02:02:26 +0000 (10:02 +0800)
There are quite several errors in the dbus service file.

* it's not necessary to export DBUS_SESSION_BUS_ADDRESS, dbus activation
  will do that, and more important, it's a totally wrong path, what's
  the $UID?
* do not touch system-wide log policy because in fact we can't. These
  debug settings are managed by dlogctl.

Change-Id: I0522fed5d5053a49884dc78ab4054d2dfa780b0e
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
bt-service/org.projectx.bt.service

index cce5ab6..9f4ea8f 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/$UID/dbus/user_bus_socket; export TIZEN_PLATFORMLOGGING_MODE=1; export TIZEN_DLOG_LEVEL=1; fi; exec /usr/bin/bt-service'
+Exec=/usr/bin/bt-service
 User=app