summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-05-15 10:39:49 +0900
committerSung-jae Park <nicesj.park@samsung.com>2013-05-15 11:15:49 +0900
commit091d1a58b29d011c70afd67065f93877910593f8 (patch)
tree14fb14149da390da5b0266d9a9bb64716edc0aac /data
parentd6efe2dfba7a14c72847b5926cdf9d99f68d16d1 (diff)
downloaddata-provider-master-091d1a58b29d011c70afd67065f93877910593f8.tar.gz
data-provider-master-091d1a58b29d011c70afd67065f93877910593f8.tar.bz2
data-provider-master-091d1a58b29d011c70afd67065f93877910593f8.zip
Patch 8/8 Update language change event handling code. Change the env value too. Region & Language is handles separately. So I separate them using VCONFKEY like app-core. Region & Lang. Patch 7/8 Care the language change notification. Patch 6/8 Handling the reply packet correctly. Patch 5/8 Define smack rule for vconf key. Patch 4/8 Don't terminate the provider even if it gets SIGTERM. Patch 3/8 Remove printf and update systemd service file. Patch 2/8 Update systemd service file. Patch 1/8 Implement the utility service. 1. Service routine updated. If a client is disconnected, service routine will be called with packet NULL. 2. Utility service is implemented. For generating the shortcut icon image, this utility service is prepared. Master just route the request & event for generating shortcut icon. Then the service daemon will be launched. and it will start generating icon image file. The image file is created in specified folder & name by client. So the client has to manage the created image file. 3. service_common_timer API is implemented. Using timerfd. Now the timer event can be handled in a separated thread. Change-Id: I9ce2546aea86c324ea9846d9dc673d6475b706c3
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt2
-rw-r--r--data/data-provider-master.service6
2 files changed, 5 insertions, 3 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 772eac6..ade7015 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -1,2 +1,2 @@
INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/data-provider-master DESTINATION /etc/rc.d/init.d/ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/data-provider-master.service DESTINATION /usr/lib/systemd/user/ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/data-provider-master.service DESTINATION /usr/lib/systemd/system/ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
diff --git a/data/data-provider-master.service b/data/data-provider-master.service
index fb3ab4f..b9c9e51 100644
--- a/data/data-provider-master.service
+++ b/data/data-provider-master.service
@@ -16,7 +16,8 @@
[Unit]
Description=Data Provider daemon
-After=xorg.target
+After=rc-sdlevelinit.service
+Requires=rc-sdlevelinit.service
[Service]
Environment=BUFMGR_LOCK_TYPE="once"
@@ -24,6 +25,7 @@ Environment=BUFMGR_MAP_CACHE="true"
Type=simple
ExecStart=/usr/bin/data-provider-master
RestartSec=1
+Restart=restart-always
[Install]
-WantedBy=tizen-middleware.target
+WantedBy=multi-user.target