summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChengyi Zhao <chengyi1.zhao@archermind.com>2013-10-29 10:52:22 +0800
committerChengyi Zhao <chengyi1.zhao@archermind.com>2013-10-29 15:50:06 +0800
commit98c95b675a8fb39ae817bd1938f8bc2465c15f19 (patch)
treef5ccc81b6462192a9a561b1c5261899f0c106bc6
parent436dcca7c63c1d98688288d897bfd9c6d54f2b53 (diff)
downloadneard-accepted/tizen/mobile.tar.gz
neard-accepted/tizen/mobile.tar.bz2
neard-accepted/tizen/mobile.zip
Fixed issue: TIVI-1665 [3.0] The neard service is not enabled by defaultsubmit/tizen/20131127.022931accepted/tizen/20131205.214601accepted/tizen/mobile
For starting neard, link neard.service to multi-user.target.wants Change-Id: I9a2342cb1711bb7dfdf9550fe8c280df64f0f5d4 Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
-rw-r--r--packaging/neard.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/neard.spec b/packaging/neard.spec
index 13aaa95..de48b5a 100644
--- a/packaging/neard.spec
+++ b/packaging/neard.spec
@@ -65,7 +65,9 @@ make %{?jobs:-j%jobs}
install -d %{buildroot}%{_libdir}/systemd/system/
install -m 644 %{S:1} %{buildroot}%{_libdir}/systemd/system/neard.service
install -d %{buildroot}%{_libdir}/systemd/system/network.target.wants/
+install -d %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/
ln -s ../neard.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/neard.service
+ln -s ../neard.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/neard.service
mkdir -p %{buildroot}%{_sysconfdir}/neard
@@ -90,6 +92,7 @@ systemctl daemon-reload
%config %{_sysconfdir}/dbus-1/system.d/org.neard.conf
%{_libdir}/systemd/system/neard.service
%{_libdir}/systemd/system/network.target.wants/neard.service
+%{_libdir}/systemd/system/multi-user.target.wants/neard.service
%files devel
%manifest %{name}.manifest