diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2015-01-22 10:40:25 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-01-22 10:40:25 +0900 |
commit | 0fb2c3610998b68c4cd6a8d5bd09f7d30e4826d6 (patch) | |
tree | 7f6bc04f6387d337eaf6df79d5f3a7262c3d2a89 | |
parent | 2875f5ca245c80bc6b8269ca700126fa4b863f71 (diff) | |
download | homescreen-master.tar.gz homescreen-master.tar.bz2 homescreen-master.zip |
modify service file for running homescreen when bootingHEADsubmit/tizen_tv/20150122.024307accepted/tizen/tv/20150123.020638master
Change-Id: I88f0edb242cac34dcbf567cee0769230dc67f67c
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r-- | packaging/org.tizen.homescreen-tv-ref.service | 6 | ||||
-rw-r--r-- | packaging/org.tizen.homescreen-tv-ref.spec | 12 |
2 files changed, 8 insertions, 10 deletions
diff --git a/packaging/org.tizen.homescreen-tv-ref.service b/packaging/org.tizen.homescreen-tv-ref.service index f6d46c3..ee12e2f 100644 --- a/packaging/org.tizen.homescreen-tv-ref.service +++ b/packaging/org.tizen.homescreen-tv-ref.service @@ -2,8 +2,4 @@ Description=Homescreen-tv [Service] -ExecStart=/usr/bin/launch_app org.tizen.homescreen-tv-ref -ExecStartPost=/bin/sh -c 'sleep 1; /usr/bin/launch_app org.tizen.homescreen-tv-ref;' - -[Install] -WantedBy=core-efl.target +ExecStart=/bin/sh -c -l 'sleep 5;/usr/bin/aul_test launch org.tizen.homescreen-tv-ref' diff --git a/packaging/org.tizen.homescreen-tv-ref.spec b/packaging/org.tizen.homescreen-tv-ref.spec index e3796ea..11a8424 100644 --- a/packaging/org.tizen.homescreen-tv-ref.spec +++ b/packaging/org.tizen.homescreen-tv-ref.spec @@ -31,6 +31,8 @@ BuildRequires: gettext-devel %define _cfgdir %{_resdir}/config %define _edjedir %{_resdir}/edje %define _manifestdir /usr/share/packages +%define _sysuserdir /systemd/user +%define _servicedir /systemd/user/default.target.wants %description Application for providing user status and tv contents @@ -54,9 +56,9 @@ make %{?jobs:-j%jobs} %install %make_install install --directory %{buildroot}/%{_datadir} -install --directory %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants -install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/user/ -ln -sf ../%{name}.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/ +install --directory %{buildroot}%{_libdir}%{_servicedir} +install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}%{_sysuserdir} +ln -sf ../%{name}.service %{buildroot}%{_libdir}%{_servicedir} %clean rm -rf %{buildroot} @@ -68,5 +70,5 @@ rm -rf %{buildroot} %{_resdir}/* %{_datadir} %{_manifestdir}/%{name}.xml -%{_libdir}/systemd/user/%{name}.service -%{_libdir}/systemd/user/core-efl.target.wants/%{name}.service +%{_libdir}%{_sysuserdir}/%{name}.service +%{_libdir}%{_servicedir}/%{name}.service |