summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-08-10 23:00:33 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2015-08-10 23:00:33 -0700
commit6d1554f569d0394bd0b5171cad5f763e323a241d (patch)
tree3e0036f17acbda057981803ef04c2fe442b2e143
parent6b0a168b9e63acef66fe0fe1264b63bc6863a51d (diff)
parentc5ef910490f5af3a862387a2ba2fe92b9bb0e6ed (diff)
downloadair_infosquare-6d1554f569d0394bd0b5171cad5f763e323a241d.tar.gz
air_infosquare-6d1554f569d0394bd0b5171cad5f763e323a241d.tar.bz2
air_infosquare-6d1554f569d0394bd0b5171cad5f763e323a241d.zip
Merge "fix systemd service file to notification-display" into tizensubmit/tizen/20150811.122002accepted/tizen/tv/20150812.005226
-rw-r--r--daemon/notification-display.path5
-rw-r--r--daemon/notification-display.service3
-rw-r--r--packaging/org.tizen.infosquare.spec6
3 files changed, 9 insertions, 5 deletions
diff --git a/daemon/notification-display.path b/daemon/notification-display.path
new file mode 100644
index 0000000..6adbaaa
--- /dev/null
+++ b/daemon/notification-display.path
@@ -0,0 +1,5 @@
+[Unit]
+Description=This path will tell you that service is ready to launch
+
+[Path]
+PathExists=/run/.wm_ready
diff --git a/daemon/notification-display.service b/daemon/notification-display.service
index 3907696..07cfdc6 100644
--- a/daemon/notification-display.service
+++ b/daemon/notification-display.service
@@ -1,7 +1,5 @@
[Unit]
Description=Notifications Display daemon
-Requires=notifications.service display-manager-run.service tizen-system-env.service
-After=notifications.service display-manager-run.service
[Service]
Type=simple
@@ -11,4 +9,3 @@ Restart=always
[Install]
WantedBy=default.target
-
diff --git a/packaging/org.tizen.infosquare.spec b/packaging/org.tizen.infosquare.spec
index bc897e2..84b88fd 100644
--- a/packaging/org.tizen.infosquare.spec
+++ b/packaging/org.tizen.infosquare.spec
@@ -48,7 +48,8 @@ make %{?jobs:-j%jobs}
install --directory %{buildroot}/%{_datadir}
mkdir -p %{buildroot}/%{_unitdir_user}/default.target.wants
install -m 0644 daemon/notification-display.service %{buildroot}/%{_unitdir_user}/notification-display.service
-ln -sf ../notification-display.service %{buildroot}/%{_unitdir_user}/default.target.wants/notification-display.service
+install -m 0644 daemon/notification-display.path %{buildroot}/%{_unitdir_user}/notification-display.path
+ln -sf ../notification-display.path %{buildroot}/%{_unitdir_user}/default.target.wants/notification-display.path
%clean
rm -rf %{buildroot}
@@ -60,5 +61,6 @@ rm -rf %{buildroot}
%{_servicedir}/*
%{_datadir}
%{_manifestdir}/%{name}.xml
-%{_unitdir_user}/default.target.wants/notification-display.service
+%{_unitdir_user}/default.target.wants/notification-display.path
%{_unitdir_user}/notification-display.service
+%{_unitdir_user}/notification-display.path