Fix and install .service files into dbus system service directory 65/11065/1
authorChengwei Yang <chengwei.yang@intel.com>
Thu, 17 Oct 2013 08:22:21 +0000 (16:22 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Thu, 17 Oct 2013 08:23:52 +0000 (16:23 +0800)
All these three services are system-wide dbus services, which should be
installed into dbus system services directory.

Bug: https://bugs.tizen.org/jira/browse/PTREL-124
Change-Id: I8d3b9aeb8d7457d2cb6a6ad874bcb84920039d97
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
org.download-provider.service.in
packaging/download-provider.spec

index 198f496..76676fa 100755 (executable)
@@ -1,4 +1,4 @@
 [D-BUS Service]
 Name=org.download-provider
-Exec=/bin/sh -c 'if [ -x /usr/bin/download-provider ]; then /usr/bin/download-provider service & fi'
+Exec=/usr/bin/download-provider service
 User=root
index 40437f7..7b75982 100755 (executable)
@@ -46,7 +46,7 @@ cp %{SOURCE1001} .
 %define _imagedir /usr/share/download-provider
 %define _databasedir /opt/usr/dbspace
 %define _databasefile %{_databasedir}/.download-provider.db
-%define _dbusservicedir /usr/share/dbus-1/services
+%define _dbusservicedir /usr/share/dbus-1/system-services
 %define _licensedir /usr/share/license
 
 %define cmake \